Represents an entity in a physical system.
Definition: IEntity.h:22
Strategy interface.
Definition: IStrategy.h:11
virtual double totalPathDistance(Vector3 startPosition)
Get the total distance of the entire path starting from startPosition and index 0.
Definition: IStrategy.h:52
virtual void move(IEntity *entity, double dt)=0
Move toward next position.
virtual ~IStrategy()
Destructor.
Definition: IStrategy.h:16
virtual double currentPathDistance(Vector3 startPosition)
Get the current distance of the entire path starting from startPosition and the current index.
Definition: IStrategy.h:41
virtual bool isCompleted()=0
Check if the trip is completed.
a simple class used for vector math, most function are self explanatory
Definition: vector3.h:12