mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-22 17:18:12 +01:00
27 lines
484 B
C++
27 lines
484 B
C++
#include "PlayerResource.h"
|
|
namespace BS {
|
|
namespace Player {
|
|
public:
|
|
virtual int getCurrent() = 0;
|
|
public:
|
|
virtual void setCurrent(int value) = 0;
|
|
public:
|
|
virtual int getMax() = 0;
|
|
public:
|
|
virtual void setMax(int value) = 0;
|
|
bool PlayerResource::getDirty(){
|
|
return this->dirty;
|
|
}
|
|
void PlayerResource::setDirty(bool value)
|
|
{
|
|
this->dirty = value;
|
|
}
|
|
PlayerResource::PlayerResource()
|
|
{
|
|
Current_var = (int)(0);
|
|
Max_var = (int)(0);
|
|
}
|
|
|
|
}
|
|
}
|