Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/simulation2/components/ICmpUnitMotion.h
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | public: | ||||
virtual void StopMoving() = 0; | virtual void StopMoving() = 0; | ||||
/** | /** | ||||
* Get the distance travelled over the last turn. | * Get the distance travelled over the last turn. | ||||
*/ | */ | ||||
virtual fixed GetCurrentSpeed() const = 0; | virtual fixed GetCurrentSpeed() const = 0; | ||||
/** | /** | ||||
* Get whether the unit is moving. | * @returns true if the unit has a destination. | ||||
*/ | */ | ||||
virtual bool IsMoving() const = 0; | virtual bool IsMoving() const = 0; | ||||
/** | /** | ||||
* Get the unit template walk speed after modifications. | * Get the unit template walk speed after modifications. | ||||
*/ | */ | ||||
virtual fixed GetWalkSpeed() const = 0; | virtual fixed GetWalkSpeed() const = 0; | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator