|
R-Type 0.1
|
Advances sprite sheet animations and updates texture rectangles. More...
#include <systems/AnimationSystem.hpp>
Public Member Functions | |
| void | onStart (rtk::ecs::Registry &) override |
| Logs that the system is loaded. | |
| void | update (rtk::ecs::Registry ®, float dt) override |
| Moves each animation forward by the elapsed time. | |
| void | onStop (rtk::ecs::Registry &) override |
| Does nothing. | |
Advances sprite sheet animations and updates texture rectangles.
|
inlineoverride |
Moves each animation forward by the elapsed time.
| reg | Registry holding the entities. |
| dt | Elapsed time since the last frame, in seconds. |