mirror of
https://codeberg.org/scip/golsky.git
synced 2025-12-18 04:51:05 +01:00
fixed exit function with q, added evolution trace to options fixed inverse
This commit is contained in:
5
game.go
5
game.go
@@ -49,7 +49,10 @@ func (game *Game) Layout(outsideWidth, outsideHeight int) (int, int) {
|
||||
|
||||
func (game *Game) Update() error {
|
||||
scene := game.GetCurrentScene()
|
||||
scene.Update()
|
||||
|
||||
if quit := scene.Update(); quit != nil {
|
||||
return quit
|
||||
}
|
||||
|
||||
next := scene.GetNext()
|
||||
if next != game.CurrentScene {
|
||||
|
||||
Reference in New Issue
Block a user