Core classes and functionality for both the editor and game.
EntityControl fromDirection(bl::tmap::Direction direction)
Helper method to convert a move direction to a control.
Adding this component to an entity allows it to be controlled.
bool processControl(input::EntityControl command, bool sprint=false, bool overrideLock=false)
Processes the given command and manipulates the entity accordingly.
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.