parent
776bf9165d
commit
0f449a902a
@ -1,10 +1,10 @@ |
|||||||
#include "olcPixelGameEngine.h" |
#include "olcPixelGameEngine.h" |
||||||
#include "Monster.h" |
#include "Monster.h" |
||||||
|
#include "Animation.h" |
||||||
|
|
||||||
std::map<MonsterName,MonsterData>MONSTER_DATA={ |
std::map<MonsterName,MonsterData>MONSTER_DATA={ |
||||||
{SLIME_GREEN,MonsterData(10,5,1.1f,0.8f,MonsterStrategy::RUN_TOWARDS)},
|
{SLIME_GREEN,MonsterData(10,5,{{AnimationState::GREEN_SLIME_IDLE,AnimationState::GREEN_SLIME_JUMP,AnimationState::GREEN_SLIME_ROLL,AnimationState::GREEN_SLIME_DIE,AnimationState::GREEN_SLIME_SPIT}},1.1f,0.8f,MonsterStrategy::RUN_TOWARDS)},
|
||||||
{SLIME_BLUE,MonsterData(30,10,0.8f,1.0f,MonsterStrategy::SHOOT_AFAR)}, |
{SLIME_BLUE,MonsterData(30,10,{{AnimationState::BLUE_SLIME_IDLE,AnimationState::BLUE_SLIME_JUMP,AnimationState::BLUE_SLIME_ROLL,AnimationState::BLUE_SLIME_DIE,AnimationState::BLUE_SLIME_SPIT}},0.8f,1.0f,MonsterStrategy::SHOOT_AFAR)}, |
||||||
{SLIME_RED,MonsterData(25,10,0.95f,1.2f,MonsterStrategy::RUN_TOWARDS)}, |
{SLIME_RED,MonsterData(25,10,{{AnimationState::RED_SLIME_IDLE,AnimationState::RED_SLIME_JUMP,AnimationState::RED_SLIME_ROLL,AnimationState::RED_SLIME_DIE,AnimationState::RED_SLIME_SPIT}},0.95f,1.2f,MonsterStrategy::RUN_TOWARDS)}, |
||||||
//{SLIME_YELLOW,{}},
|
//{SLIME_YELLOW,{}},
|
||||||
}; |
}; |
Loading…
Reference in new issue