Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
anonymous_namespace{CCmpRangeManager.cpp}::EntityData Struct Reference
Collaboration diagram for anonymous_namespace{CCmpRangeManager.cpp}::EntityData:

Public Member Functions

 EntityData ()
 
template<int mask>
bool HasFlag () const
 
template<int mask>
void SetFlag (bool val)
 
void SetFlag (std::uint8_t mask, bool val)
 

Public Attributes

entity_pos_t x
 
entity_pos_t z
 
entity_pos_t visionRange
 
std::uint32_t visibilities
 
std::uint32_t size
 
std::uint16_t visionSharing
 
std::int8_t owner
 
std::uint8_t flags
 

Constructor & Destructor Documentation

◆ EntityData()

anonymous_namespace{CCmpRangeManager.cpp}::EntityData::EntityData ( )
inline

Member Function Documentation

◆ HasFlag()

template<int mask>
bool anonymous_namespace{CCmpRangeManager.cpp}::EntityData::HasFlag ( ) const
inline

◆ SetFlag() [1/2]

template<int mask>
void anonymous_namespace{CCmpRangeManager.cpp}::EntityData::SetFlag ( bool  val)
inline

◆ SetFlag() [2/2]

void anonymous_namespace{CCmpRangeManager.cpp}::EntityData::SetFlag ( std::uint8_t  mask,
bool  val 
)
inline

Member Data Documentation

◆ flags

std::uint8_t anonymous_namespace{CCmpRangeManager.cpp}::EntityData::flags

◆ owner

std::int8_t anonymous_namespace{CCmpRangeManager.cpp}::EntityData::owner

◆ size

std::uint32_t anonymous_namespace{CCmpRangeManager.cpp}::EntityData::size

◆ visibilities

std::uint32_t anonymous_namespace{CCmpRangeManager.cpp}::EntityData::visibilities

◆ visionRange

entity_pos_t anonymous_namespace{CCmpRangeManager.cpp}::EntityData::visionRange

◆ visionSharing

std::uint16_t anonymous_namespace{CCmpRangeManager.cpp}::EntityData::visionSharing

◆ x

entity_pos_t anonymous_namespace{CCmpRangeManager.cpp}::EntityData::x

◆ z

entity_pos_t anonymous_namespace{CCmpRangeManager.cpp}::EntityData::z

The documentation for this struct was generated from the following file: