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,7 @@
structure Wall =
struct
type t = {id: int, x: int, y: int, width: int, height: int}
fun helpGenerateTree (pos, wallVec, acc) =
if pos = Vector.length wallVec then
acc