Split off battle creature stats into boosted and non-boosted
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
#include <exception>
|
||||
#include "StatisticSet.hpp"
|
||||
|
||||
|
||||
template <class T>
|
||||
CreatureLib::Core::StatisticSet<T>::StatisticSet()
|
||||
: _health(0), _physicalAttack(0), _physicalDefense(0), _magicalAttack(0), _magicalDefense(0), _speed(0)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -20,7 +20,9 @@ namespace CreatureLib::Core{
|
||||
: _health(health), _physicalAttack(physicalAttack),
|
||||
_physicalDefense(physicalDefense), _magicalAttack(magicalAttack),
|
||||
_magicalDefense(magicalDefense), _speed(speed){}
|
||||
StatisticSet();
|
||||
StatisticSet()
|
||||
: _health(0), _physicalAttack(0), _physicalDefense(0), _magicalAttack(0), _magicalDefense(0), _speed(0)
|
||||
{}
|
||||
|
||||
inline T GetHealth() const{ return _health; }
|
||||
inline T GetPhysicalAttack() const{ return _physicalAttack; }
|
||||
|
||||
Reference in New Issue
Block a user