Initial commit for game init/shutdown code.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package game
|
||||
|
||||
main :: proc() {
|
||||
game := game_init()
|
||||
|
||||
for game_should_run(&game) {
|
||||
game_update(&game)
|
||||
game_draw(&game)
|
||||
}
|
||||
|
||||
game_close(&game)
|
||||
}
|
||||
Reference in New Issue
Block a user