Changeset View
Changeset View
Standalone View
Standalone View
source/simulation2/components/tests/test_ObstructionManager.h
Show All 35 Lines | public: | ||||
virtual void SetUnitClearance(const entity_pos_t& UNUSED(clearance)) { } | virtual void SetUnitClearance(const entity_pos_t& UNUSED(clearance)) { } | ||||
virtual bool IsControlPersistent() const { return true; } | virtual bool IsControlPersistent() const { return true; } | ||||
virtual bool CheckShorePlacement() const { return true; } | virtual bool CheckShorePlacement() const { return true; } | ||||
virtual EFoundationCheck CheckFoundation(const std::string& UNUSED(className)) const { return EFoundationCheck(); } | virtual EFoundationCheck CheckFoundation(const std::string& UNUSED(className)) const { return EFoundationCheck(); } | ||||
virtual EFoundationCheck CheckFoundation(const std::string& UNUSED(className), bool UNUSED(onlyCenterPoint)) const { return EFoundationCheck(); } | virtual EFoundationCheck CheckFoundation(const std::string& UNUSED(className), bool UNUSED(onlyCenterPoint)) const { return EFoundationCheck(); } | ||||
virtual std::string CheckFoundation_wrapper(const std::string& UNUSED(className), bool UNUSED(onlyCenterPoint)) const { return std::string(); } | virtual std::string CheckFoundation_wrapper(const std::string& UNUSED(className), bool UNUSED(onlyCenterPoint)) const { return std::string(); } | ||||
virtual bool CheckDuplicateFoundation() const { return true; } | virtual bool CheckDuplicateFoundation() const { return true; } | ||||
virtual std::vector<entity_id_t> GetEntitiesByFlags(ICmpObstructionManager::flags_t UNUSED(flags)) const { return std::vector<entity_id_t>(); } | virtual std::vector<entity_id_t> GetEntitiesByFlags(ICmpObstructionManager::flags_t UNUSED(flags)) const { return std::vector<entity_id_t>(); } | ||||
virtual std::vector<entity_id_t> GetEntitiesBlockingMovement() const { return std::vector<entity_id_t>(); } | |||||
virtual std::vector<entity_id_t> GetEntitiesBlockingConstruction() const { return std::vector<entity_id_t>(); } | virtual std::vector<entity_id_t> GetEntitiesBlockingConstruction() const { return std::vector<entity_id_t>(); } | ||||
virtual std::vector<entity_id_t> GetEntitiesDeletedUponConstruction() const { return std::vector<entity_id_t>(); } | virtual std::vector<entity_id_t> GetEntitiesDeletedUponConstruction() const { return std::vector<entity_id_t>(); } | ||||
virtual void ResolveFoundationCollisions() const { } | virtual void ResolveFoundationCollisions() const { } | ||||
virtual void SetActive(bool UNUSED(active)) { } | virtual void SetActive(bool UNUSED(active)) { } | ||||
virtual void SetMovingFlag(bool UNUSED(enabled)) { } | virtual void SetMovingFlag(bool UNUSED(enabled)) { } | ||||
virtual void SetDisableBlockMovementPathfinding(bool UNUSED(movementDisabled), bool UNUSED(pathfindingDisabled), int32_t UNUSED(shape)) { } | virtual void SetDisableBlockMovementPathfinding(bool UNUSED(movementDisabled), bool UNUSED(pathfindingDisabled), int32_t UNUSED(shape)) { } | ||||
virtual bool GetBlockMovementFlag() const { return true; } | virtual bool GetBlockMovementFlag() const { return true; } | ||||
virtual void SetControlGroup(entity_id_t UNUSED(group)) { } | virtual void SetControlGroup(entity_id_t UNUSED(group)) { } | ||||
▲ Show 20 Lines • Show All 542 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator