Moved all enemy reading over to purely using config files. Removed all enemy enum dependencies. Removed bugs involving loading infinite maps by accident.

This commit is contained in:
2023-08-13 02:12:19 -05:00
parent 13eff22485
commit 6a12a45cb2
26 changed files with 377 additions and 271 deletions
+15
View File
@@ -0,0 +1,15 @@
#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;
}
}