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.
15 lines
359 B
15 lines
359 B
#include "Monster.h"
|
|
|
|
void Monster::STRATEGY::RUN_STRATEGY(Monster&m,float fElapsedTime){
|
|
switch(m.strategy){
|
|
case 0:{//Run Towards
|
|
Monster::STRATEGY::RUN_TOWARDS(m,fElapsedTime);
|
|
}break;
|
|
case 1:{//Shoot Afar
|
|
Monster::STRATEGY::SHOOT_AFAR(m,fElapsedTime);
|
|
}break;
|
|
case 2:{//Turret.
|
|
Monster::STRATEGY::TURRET(m,fElapsedTime);
|
|
}break;
|
|
}
|
|
} |