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.
 
 
 
 
 
 
AdventuresInLestoria/Crawler/MonsterAttribute.h

21 lines
376 B

#pragma once
#define VARIANTS float,int,std::string,bool
enum class ATTRIBUTE_TYPE{
FLOAT,
INT,
STRING,
BOOL,
};
struct _ATTRIBUTE{
ATTRIBUTE_TYPE type;
bool operator<(const _ATTRIBUTE&rhs)const{
return int(type)<int(rhs.type);
}
};
struct Attribute{
static _ATTRIBUTE IFRAME_TIME_UPON_HIT;
static _ATTRIBUTE SHOOT_RING_TIMER;
};