Class DataCollection::DamageData
ClassList > DataCollection > DamageData
Represents damage related data between an agent and other entities (agents, items, grids, etc)
#include <DamageData.hpp>
Public Functions
Type | Name |
---|---|
DamageData (std::shared_ptr< cse491::AgentBase > agnt, std::shared_ptr< cse491::Entity > src, int amt) The amount of damage taken from this source. |
|
~DamageData () = default Destructor for DamageData class. |
Public Functions Documentation
function DamageData
The amount of damage taken from this source.
inline DataCollection::DamageData::DamageData (
std::shared_ptr< cse491::AgentBase > agnt,
std::shared_ptr< cse491::Entity > src,
int amt
)
Default constructor for a DamageData
Parameters:
src
Damage source entityamt
Amount of damage taken
function ~DamageData
DataCollection::DamageData::~DamageData () = default
The documentation for this class was generated from the following file source/DataCollection/DamageData.hpp