Remove drawing strategies from demo branch. Resolve Issue #61.

sigonasr2 10 months ago
parent 52ec0c3d91
commit fb30c4a027
  1. 4
      Adventures in Lestoria/AdventuresInLestoria.cpp

@ -1394,7 +1394,6 @@ void AiL::RenderWorld(float fElapsedTime){
#pragma region Remaining Rendering
while(monstersBeforeLowerIt!=monstersBeforeLower.end()){
Monster*const m=*monstersBeforeLowerIt;
m->strategyDraw(this,*m,MONSTER_DATA[m->GetName()].GetAIStrategy());
m->Draw();
++monstersBeforeLowerIt;
}
@ -1416,7 +1415,6 @@ void AiL::RenderWorld(float fElapsedTime){
}
while(monstersAfterLowerIt!=monstersAfterLower.end()){
Monster*const m=*monstersAfterLowerIt;
m->strategyDraw(this,*m,MONSTER_DATA[m->GetName()].GetAIStrategy());
m->Draw();
++monstersAfterLowerIt;
}
@ -1686,7 +1684,6 @@ void AiL::RenderWorld(float fElapsedTime){
#pragma region Remaining Upper Rendering
while(monstersBeforeUpperIt!=monstersBeforeUpper.end()){
Monster*const m=*monstersBeforeUpperIt;
m->strategyDraw(this,*m,MONSTER_DATA[m->GetName()].GetAIStrategy());
m->Draw();
++monstersBeforeUpperIt;
}
@ -1708,7 +1705,6 @@ void AiL::RenderWorld(float fElapsedTime){
}
while(monstersAfterUpperIt!=monstersAfterUpper.end()){
Monster*const m=*monstersAfterUpperIt;
m->strategyDraw(this,*m,MONSTER_DATA[m->GetName()].GetAIStrategy());
m->Draw();
++monstersAfterUpperIt;
}

Loading…
Cancel
Save