adi64 / terminus

Game Programming Seminar 2014/15
3 stars 0 forks source link

Implement event / schedule queue #59

Closed adi64 closed 9 years ago

adi64 commented 9 years ago

In order to properly synchronize game state changes (i.e. deleting nodes), a queue of events should be implemented that will be processed before Scene::update(). This way, events can be safely scheduled asynchronically (e.g. deleting a node in response to a key press while rendering nodes). This means that our game loop will essentially consist of