done adding LevelType.level_type as a field of GameType.game_type, and having main loop go through GameUpdate.game_type -> LevelUpdate.update
This commit is contained in:
@@ -11,7 +11,6 @@ struct
|
||||
, enemies
|
||||
, graph
|
||||
, fallingEnemies
|
||||
, userKeys
|
||||
} = game
|
||||
|
||||
val player = Player.runPhysicsAndInput (game, input)
|
||||
@@ -40,7 +39,6 @@ struct
|
||||
, enemies = enemies
|
||||
, graph = graph
|
||||
, fallingEnemies = fallingEnemies
|
||||
, userKeys = userKeys
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user