public class GameRunner
- extends java.lang.Object
The main class on the game side. It's job is to calculate everything for one
tick at a time, including collisions, triggers, and moving the objects.
Steps the world forward by an amount dt.
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void step(WorldState state,
- Steps the world forward by an amount dt. Processes triggers, collisions,
and moving things forward. The WorldState passed in should NOT be
modified as this method is running -- it could have incorrect results.
- changes everything in state, to move it forward by dt.