Changeset View
Changeset View
Standalone View
Standalone View
source/simulation2/components/ICmpObstruction.h
Show First 20 Lines • Show All 97 Lines • ▼ Show 20 Lines | public: | ||||
virtual void SetActive(bool active) = 0; | virtual void SetActive(bool active) = 0; | ||||
virtual void SetMovingFlag(bool enabled) = 0; | virtual void SetMovingFlag(bool enabled) = 0; | ||||
virtual void SetDisableBlockMovementPathfinding(bool movementDisabled, bool pathfindingDisabled, int32_t shape) = 0; | virtual void SetDisableBlockMovementPathfinding(bool movementDisabled, bool pathfindingDisabled, int32_t shape) = 0; | ||||
virtual bool GetBlockMovementFlag() const = 0; | virtual bool GetBlockMovementFlag() const = 0; | ||||
virtual bool BlocksPathfinding() const = 0; | |||||
/** | /** | ||||
* Change the control group that the entity belongs to. | * Change the control group that the entity belongs to. | ||||
* Control groups are used to let units ignore collisions with other units from | * Control groups are used to let units ignore collisions with other units from | ||||
* the same group. Default is the entity's own ID. | * the same group. Default is the entity's own ID. | ||||
*/ | */ | ||||
virtual void SetControlGroup(entity_id_t group) = 0; | virtual void SetControlGroup(entity_id_t group) = 0; | ||||
/// See SetControlGroup. | /// See SetControlGroup. | ||||
Show All 9 Lines |
Wildfire Games · Phabricator