1 #ifndef CORE_COMPONENTS_SPINBEHAVIOR_HPP
2 #define CORE_COMPONENTS_SPINBEHAVIOR_HPP
Core classes and functionality for both the editor and game.
Adding this component to an entity allows it to be controlled.
Add this to an entity to make it spin in place.
SpinBehavior(file::Behavior::Spinning::Direction dir)
Construct a new Spin Behavior component.
void update(bl::tmap::Position &position, Controllable &controller, float dt)
Updates the behavior.
Direction
The direction to spin.