|
R-Type 0.1
|
Marks bullets that went past the right edge of the world as dead. More...
#include <systems/BulletSystem.hpp>
Public Member Functions | |
| void | onStart (rtk::ecs::Registry &) override |
| Logs that the system is loaded. | |
| void | update (rtk::ecs::Registry ®, float) override |
| Adds Dead to every bullet whose x is greater than 1920. | |
| void | onStop (rtk::ecs::Registry &) override |
| Does nothing. | |
Marks bullets that went past the right edge of the world as dead.
|
inlineoverride |
Adds Dead to every bullet whose x is greater than 1920.
| reg | Registry holding the bullets. |