RunIteration runs one iteration per frame
()
| 43 | |
| 44 | // RunIteration runs one iteration per frame |
| 45 | func RunIteration() { |
| 46 | Time.Tick() |
| 47 | currentUpdater.Update(Time.Delta()) |
| 48 | } |
| 49 | |
| 50 | // RunPreparation is called automatically when calling Open. It should only be called once. |
| 51 | func RunPreparation(defaultScene Scene) { |