This method is called by the game loop on all objects that need to update
their attributes.
Method Detail
update
void update()
This method is called by the game loop on all objects that need to update
their attributes. It is called on every tick, means, it is called
Game.GameLoop.TICKS_PER_SECOND times per second.