mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-22 17:18:12 +01:00
32 lines
523 B
C
32 lines
523 B
C
|
#pragma once
|
||
|
#include <System/System.h>
|
||
|
|
||
|
using namespace System;
|
||
|
namespace BS {
|
||
|
namespace Player {
|
||
|
class PlayerResource : public abstract virtual Object
|
||
|
{
|
||
|
private:
|
||
|
bool dirty;
|
||
|
public:
|
||
|
int getCurrent();
|
||
|
public:
|
||
|
void setCurrent(int value);
|
||
|
public:
|
||
|
int getMax();
|
||
|
public:
|
||
|
void setMax(int value);
|
||
|
public:
|
||
|
bool getDirty();
|
||
|
public:
|
||
|
void setDirty(bool value);
|
||
|
public:
|
||
|
virtual int Current_var;
|
||
|
public:
|
||
|
virtual int Max_var;
|
||
|
public:
|
||
|
PlayerResource();
|
||
|
};
|
||
|
}
|
||
|
}
|