refactor falling_enemy to be contained in FallingEnemyMap, instead of a plain vector

This commit is contained in:
2025-02-15 01:42:29 +00:00
parent 5412a71d30
commit e758a5a13c
6 changed files with 94 additions and 124 deletions

View File

@@ -0,0 +1,11 @@
structure FallingEnemyPair =
struct
type key = int
type value = EnemyType.falling_enemy
fun l (a: int, b: int) = a < b
fun eq (a: int, b: int) = a = b
fun g (a: int, b: int) = a > b
val maxNodeSize = 8
end