Changeset View
Changeset View
Standalone View
Standalone View
source/simulation2/components/ICmpObstruction.h
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | public: | ||||
/** | /** | ||||
* Same as the method above, but returns an obstruction shape for the previous turn | * Same as the method above, but returns an obstruction shape for the previous turn | ||||
*/ | */ | ||||
virtual bool GetPreviousObstructionSquare(ICmpObstructionManager::ObstructionSquare& out) const = 0; | virtual bool GetPreviousObstructionSquare(ICmpObstructionManager::ObstructionSquare& out) const = 0; | ||||
virtual entity_pos_t GetSize() const = 0; | virtual entity_pos_t GetSize() const = 0; | ||||
virtual CFixedVector2D GetStaticSize() const = 0; | |||||
virtual entity_pos_t GetUnitRadius() const = 0; | virtual entity_pos_t GetUnitRadius() const = 0; | ||||
virtual EObstructionType GetObstructionType() const = 0; | virtual EObstructionType GetObstructionType() const = 0; | ||||
virtual void SetUnitClearance(const entity_pos_t& clearance) = 0; | virtual void SetUnitClearance(const entity_pos_t& clearance) = 0; | ||||
virtual bool IsControlPersistent() const = 0; | virtual bool IsControlPersistent() const = 0; | ||||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator