SORTIE Core C++ Documentation
Public Member Functions | List of all members
clDamageEffectNone Class Reference

Class that provides no damage effect (value of 1). More...

#include <DamageEffectNone.h>

Inheritance diagram for clDamageEffectNone:
clDamageEffectBase

Public Member Functions

double CalculateDamageEffect (clTree *p_oTree)
 Calculates damage effect. More...
 
void DoSetup (clTreePopulation *p_oPop, clBehaviorBase *p_oNCI, xercesc::DOMElement *p_oElement)
 Does any desired setup. More...
 
- Public Member Functions inherited from clDamageEffectBase
virtual void PreCalcs (clTreePopulation *p_oPop)
 Performs calculations like either clGrowthBase::PreGrowthCalcs or clMortalityBase::PreMortCalcs. More...
 
virtual ~clDamageEffectBase ()
 Destructor. More...
 

Detailed Description

Class that provides no damage effect (value of 1).

Member Function Documentation

◆ CalculateDamageEffect()

double clDamageEffectNone::CalculateDamageEffect ( clTree p_oTree)
inlinevirtual

Calculates damage effect.

Parameters
p_oTreeTree for which to calculate damage effect.

Implements clDamageEffectBase.

◆ DoSetup()

void clDamageEffectNone::DoSetup ( clTreePopulation p_oPop,
clBehaviorBase p_oNCI,
xercesc::DOMElement *  p_oElement 
)
inlinevirtual

Does any desired setup.

Parameters
p_oPopTree population.
p_oNCINCI behavior object.
p_oElementRoot element of the behavior.

Implements clDamageEffectBase.


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