Changeset View
Changeset View
Standalone View
Standalone View
source/simulation2/components/ICmpUnitMotion.h
Show First 20 Lines • Show All 107 Lines • ▼ Show 20 Lines | public: | ||||
virtual fixed GetSpeed() const = 0; | virtual fixed GetSpeed() const = 0; | ||||
/** | /** | ||||
* Set whether the unit will turn to face the target point after finishing moving. | * Set whether the unit will turn to face the target point after finishing moving. | ||||
*/ | */ | ||||
virtual void SetFacePointAfterMove(bool facePointAfterMove) = 0; | virtual void SetFacePointAfterMove(bool facePointAfterMove) = 0; | ||||
/** | /** | ||||
* Set whether the unit will waste time rotating on the next turn when moving. | |||||
*/ | |||||
virtual void SetRotateTime(bool rotateTime) = 0; | |||||
/** | |||||
* Get the unit's passability class. | * Get the unit's passability class. | ||||
*/ | */ | ||||
virtual pass_class_t GetPassabilityClass() const = 0; | virtual pass_class_t GetPassabilityClass() const = 0; | ||||
/** | /** | ||||
* Get the passability class name (as defined in pathfinder.xml) | * Get the passability class name (as defined in pathfinder.xml) | ||||
*/ | */ | ||||
virtual std::string GetPassabilityClassName() const = 0; | virtual std::string GetPassabilityClassName() const = 0; | ||||
Show All 15 Lines |
Wildfire Games · Phabricator