begin parameterising level so that it fits into larger type (with different modes like TITLE, LEVEL, SETTINGS, etc.)
This commit is contained in:
11
fcore/level/enemy/falling-enemy-pair.sml
Normal file
11
fcore/level/enemy/falling-enemy-pair.sml
Normal 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
|
||||
Reference in New Issue
Block a user