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.
11 lines
387 B
11 lines
387 B
#include "MonsterAttribute.h"
|
|
#define SETUP(attribute,type) _ATTRIBUTE attribute{ATTRIBUTE_TYPE::type};
|
|
|
|
SETUP(Attribute::IFRAME_TIME_UPON_HIT,FLOAT);
|
|
SETUP(Attribute::SHOOT_RING_TIMER,FLOAT);
|
|
SETUP(Attribute::SHOOT_RING_DELAY,FLOAT);
|
|
SETUP(Attribute::SHOOT_RING_COUNTER,FLOAT);
|
|
|
|
int _ATTRIBUTE::internal_id=0;
|
|
_ATTRIBUTE::_ATTRIBUTE(ATTRIBUTE_TYPE type)
|
|
:type(type),id(internal_id++){} |