src code

instance method Game#update

Game#update() → undefined

The game update function that gets called automatically during each pass in the game loop. Calls Component#update on all components added through Container#addComponent. Afterwards, increments the Game#updateCount value by 1.

SGF game code should never have to call this method, it is handled automatically by the game loop.