|
| void | dispatchEvent (const std::function< void(WAL::Entity &)> &event) |
| | Inform the system that a new event has occurred and it should run the given method on every entities. More...
|
| |
| void | dispatchEvent (const std::function< void(WAL::Wal &)> &event) |
| | Inform the system that a new event has occurred and it should run the given method on every entities. More...
|
| |
| void | onUpdate (WAL::ViewEntity<> &entity, std::chrono::nanoseconds dtime) override |
| |
| void | onSelfUpdate (std::chrono::nanoseconds dtime) override |
| | A method called after all entities that this system manage has been updated. More...
|
| |
| | EventSystem (WAL::Wal &wal) |
| | A default constructor. More...
|
| |
| | EventSystem (const EventSystem &)=default |
| | An event system is copy constructable. More...
|
| |
| | ~EventSystem () override=default |
| | A default destructor. More...
|
| |
| EventSystem & | operator= (const EventSystem &)=delete |
| | An event system is not assignable. More...
|
| |
| | ~System () override=default |
| | A virtual, default, destructor. More...
|
| |
| | System (System &&) noexcept=default |
| | A system can be moved. More...
|
| |
| View< Dependencies... > & | getView () override |
| | Get a view of all entities containing every dependencies of this system. More...
|
| |
| virtual void | onUpdate (ViewEntity< Dependencies... > &entity, std::chrono::nanoseconds dtime) |
| | Update the corresponding component of the given entity. More...
|
| |
| virtual void | onFixedUpdate (ViewEntity< Dependencies... > &entity) |
| | An alternative of onUpdate that is called every 8ms (120 times per seconds). If the system slow down, it will try to catch up. More...
|
| |
| void | update (std::chrono::nanoseconds dtime) final |
| | Update the whole system (every entities that this system is responsible can be updated. More...
|
| |
| void | fixedUpdate () final |
| | An alternative of update that is called every 8ms (120 times per seconds). If the system slow down, it will try to catch up. More...
|
| |
| virtual | ~ISystem ()=default |
| | A virtual default destructor. More...
|
| |