RunIteration runs one iteration / frame
()
| 176 | |
| 177 | // RunIteration runs one iteration / frame |
| 178 | func RunIteration() { |
| 179 | Time.Tick() |
| 180 | |
| 181 | if !opts.HeadlessMode { |
| 182 | Input.update() |
| 183 | } |
| 184 | |
| 185 | // Then update the world and all Systems |
| 186 | currentUpdater.Update(Time.Delta()) |
| 187 | } |
| 188 | |
| 189 | // SetCursor changes the cursor - not yet implemented |
| 190 | func SetCursor(Cursor) { |