refactor platform and wall type declarations out into platform.sml and wall.sml

This commit is contained in:
2025-02-14 09:26:07 +00:00
parent 93aebe5fa1
commit d1e23b5455
5 changed files with 21 additions and 15 deletions

View File

@@ -1,5 +1,6 @@
structure Platform =
struct
type t = {id: int, x: int, y: int, width: int}
(* collision height of a platform.
* Visual height may (and probably will) be different. *)
val platHeight = 5