Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/simulation2/components/ICmpRangeManager.h
Show First 20 Lines • Show All 193 Lines • ▼ Show 20 Lines | public: | ||||
virtual std::vector<entity_id_t> GetEntitiesByPlayer(player_id_t player) const = 0; | virtual std::vector<entity_id_t> GetEntitiesByPlayer(player_id_t player) const = 0; | ||||
/** | /** | ||||
* Returns a list of all entities of all players except gaia. | * Returns a list of all entities of all players except gaia. | ||||
*/ | */ | ||||
virtual std::vector<entity_id_t> GetNonGaiaEntities() const = 0; | virtual std::vector<entity_id_t> GetNonGaiaEntities() const = 0; | ||||
/** | /** | ||||
* Returns a list of all entities owned by a player or gaia. | |||||
*/ | |||||
virtual std::vector<entity_id_t> GetGaiaAndNonGaiaEntities() const = 0; | |||||
/** | |||||
* Toggle the rendering of debug info. | * Toggle the rendering of debug info. | ||||
*/ | */ | ||||
virtual void SetDebugOverlay(bool enabled) = 0; | virtual void SetDebugOverlay(bool enabled) = 0; | ||||
/** | /** | ||||
* Returns the mask for the specified identifier. | * Returns the mask for the specified identifier. | ||||
*/ | */ | ||||
virtual u8 GetEntityFlagMask(const std::string& identifier) const = 0; | virtual u8 GetEntityFlagMask(const std::string& identifier) const = 0; | ||||
▲ Show 20 Lines • Show All 217 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator