The open source repository for the action RPG game in development by Sig Productions titled 'Adventures in Lestoria'!
https://forums.lestoria.net
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++){} |