1 #ifndef CORE_COMPONENTS_FIXEDPATHBEHAVIOR_HPP
2 #define CORE_COMPONENTS_FIXEDPATHBEHAVIOR_HPP
37 unsigned int currentPace;
38 unsigned int currentStep;
Core classes and functionality for both the editor and game.
Adding this component to an entity allows it to be controlled.
Add this component to an entity to make it follow a fixed path.
void update(bl::tmap::Position &position, Controllable &controller)
Updates the entity along the path.
FixedPathBehavior(const file::Behavior::Path &path)
Construct a new Fixed Path Behavior component.
Contains data for when the behavior type is following a path.