fun tick(): Unit
Main game loop. The engine calls this every X milliseconds and various functions are run from here.