Definition at line 32 of file MapItem.h.
#include <MapItem.h>
◆ MapItemId
◆ MapItem() [1/3]
proofps_dd::MapItem::MapItem |
( |
PR00FsUltimateRenderingEngine & | gfx, |
|
|
const MapItemType & | eMapItemType, |
|
|
const PureVector & | pos ) |
◆ ~MapItem()
proofps_dd::MapItem::~MapItem |
( |
| ) |
|
◆ MapItem() [2/3]
proofps_dd::MapItem::MapItem |
( |
const MapItem & | | ) |
|
|
delete |
◆ MapItem() [3/3]
proofps_dd::MapItem::MapItem |
( |
MapItem && | | ) |
|
|
delete |
◆ getGlobalMapItemId()
◆ getId()
◆ getItemRespawnTimeSecs()
uint32_t proofps_dd::MapItem::getItemRespawnTimeSecs |
( |
const MapItem & | mapItem | ) |
|
|
static |
◆ getObject3D()
const PureObject3D & proofps_dd::MapItem::getObject3D |
( |
| ) |
const |
◆ getPos()
const PureVector & proofps_dd::MapItem::getPos |
( |
| ) |
const |
◆ getTimeTaken()
const std::chrono::time_point< std::chrono::steady_clock > & proofps_dd::MapItem::getTimeTaken |
( |
| ) |
const |
◆ getType()
◆ isTaken()
bool proofps_dd::MapItem::isTaken |
( |
| ) |
const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ resetGlobalData()
void proofps_dd::MapItem::resetGlobalData |
( |
| ) |
|
|
static |
◆ take()
void proofps_dd::MapItem::take |
( |
| ) |
|
◆ toString() [1/2]
std::string proofps_dd::MapItem::toString |
( |
| ) |
const |
◆ toString() [2/2]
std::string proofps_dd::MapItem::toString |
( |
const MapItemType & | eMapItemType | ) |
|
|
static |
◆ unTake()
void proofps_dd::MapItem::unTake |
( |
| ) |
|
◆ update()
void proofps_dd::MapItem::update |
( |
float | factor | ) |
|
◆ ITEM_ARMOR_AP_INC
uint32_t proofps_dd::MapItem::ITEM_ARMOR_AP_INC = 50 |
|
staticconstexpr |
◆ ITEM_ARMOR_RESPAWN_SECS
uint32_t proofps_dd::MapItem::ITEM_ARMOR_RESPAWN_SECS = 10 |
|
staticconstexpr |
◆ ITEM_HEALTH_HP_INC
uint32_t proofps_dd::MapItem::ITEM_HEALTH_HP_INC = 20 |
|
staticconstexpr |
◆ ITEM_HEALTH_RESPAWN_SECS
uint32_t proofps_dd::MapItem::ITEM_HEALTH_RESPAWN_SECS = 10 |
|
staticconstexpr |
◆ ITEM_WPN_BAZOOKA_RESPAWN_SECS
uint32_t proofps_dd::MapItem::ITEM_WPN_BAZOOKA_RESPAWN_SECS = 20 |
|
staticconstexpr |
◆ ITEM_WPN_MACHINEGUN_RESPAWN_SECS
uint32_t proofps_dd::MapItem::ITEM_WPN_MACHINEGUN_RESPAWN_SECS = 20 |
|
staticconstexpr |
◆ ITEM_WPN_PISTOL_RESPAWN_SECS
uint32_t proofps_dd::MapItem::ITEM_WPN_PISTOL_RESPAWN_SECS = 20 |
|
staticconstexpr |
◆ m_bTaken
bool proofps_dd::MapItem::m_bTaken |
|
private |
◆ m_eMapItemType
◆ m_fObjPosOriginalY
float proofps_dd::MapItem::m_fObjPosOriginalY |
|
private |
The vertical floating movement is relative to this coord.
Definition at line 88 of file MapItem.h.
◆ m_fSinusMotionDegrees
float proofps_dd::MapItem::m_fSinusMotionDegrees |
|
private |
For iterating the vertical floating movement.
Definition at line 92 of file MapItem.h.
◆ m_gfx
PR00FsUltimateRenderingEngine& proofps_dd::MapItem::m_gfx |
|
private |
◆ m_globalMapItemId
Next unique id for identifying.
Used by server and client instances.
Definition at line 79 of file MapItem.h.
◆ m_id
Unique id for identifying.
Used by server and client instances. Must be equal for same item across server and clients, used in packets too.
Definition at line 83 of file MapItem.h.
◆ m_mapReferenceObjects
◆ m_obj
PureObject3D* proofps_dd::MapItem::m_obj |
|
private |
◆ m_timeTaken
std::chrono::time_point<std::chrono::steady_clock> proofps_dd::MapItem::m_timeTaken |
|
private |
The documentation for this class was generated from the following files:
- C:/__PR00F__/___developing___/projects/PRooFPS-dd/PRooFPS-dd/MapItem.h
- C:/__PR00F__/___developing___/projects/PRooFPS-dd/PRooFPS-dd/MapItem.cpp