The open source repository for the action RPG game in development by Sig Productions titled 'Adventures in Lestoria'!
https://forums.lestoria.net
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
406 B
20 lines
406 B
1 year ago
|
#define VARIANTS float,int,std::string,bool
|
||
|
#define CREATE_ATTRIBUTE(variable,type) _ATTRIBUTE variable{Attribute::TYPE::type};
|
||
|
|
||
|
namespace Attribute{
|
||
|
enum class TYPE{
|
||
|
FLOAT,
|
||
|
INT,
|
||
|
STRING,
|
||
|
BOOL,
|
||
|
};
|
||
|
}
|
||
|
|
||
|
struct _ATTRIBUTE{
|
||
|
Attribute::TYPE type;
|
||
|
};
|
||
|
|
||
|
namespace Attribute{
|
||
|
CREATE_ATTRIBUTE(IFRAME_TIME_UPON_HIT,FLOAT);
|
||
|
CREATE_ATTRIBUTE(SHOOT_RING_TIMER,FLOAT);
|
||
|
}
|