mirror of
https://github.com/sam-astro/Z-Sharp.git
synced 2025-12-11 16:22:12 +00:00
add EXIT_WHEN_DONE = false
This commit is contained in:
parent
33805294d3
commit
438f366ba4
@ -16,6 +16,8 @@ bool aiOn = false
|
|||||||
// so if you never call ZS.Graphics.Init, then Start won't run
|
// so if you never call ZS.Graphics.Init, then Start won't run
|
||||||
func Main()
|
func Main()
|
||||||
{
|
{
|
||||||
|
EXIT_WHEN_DONE = false
|
||||||
|
|
||||||
// Immediately creates the window, then Start(), then the game loop. The game loop calls Update() every frame
|
// Immediately creates the window, then Start(), then the game loop. The game loop calls Update() every frame
|
||||||
ZS.Graphics.Init("This is a pong game", SCREENW, SCREENH)
|
ZS.Graphics.Init("This is a pong game", SCREENW, SCREENH)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user