1 #ifndef CORE_COMPONENTS_STANDINGBEHAVIOR_HPP
2 #define CORE_COMPONENTS_STANDINGBEHAVIOR_HPP
35 const bl::tmap::Direction dir;
Core classes and functionality for both the editor and game.
Adding this component to an entity allows it to be controlled.
AI behavior for standing in place facing a fixed direction.
void update(bl::tmap::Position &position, Controllable &controller)
Ensures the managed entity is facing the required position.
StandingBehavior(bl::tmap::Direction faceDir)
Construct a new Standing Behavior component.