add function to return which side a collision occurs at
This commit is contained in:
9
fcore/wall.sml
Normal file
9
fcore/wall.sml
Normal file
@@ -0,0 +1,9 @@
|
||||
structure Wall =
|
||||
struct
|
||||
(* Wall or platform, where player can land after falling.
|
||||
* Difference between wall and platform is that one can jump to a platform
|
||||
* and go below it, but wall is completely opaque. *)
|
||||
datatype wall_type = WALL | PLATFORM
|
||||
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user