From fb30c4a02718fbb362aad9d7fea4afab545d4f3f Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Fri, 21 Jun 2024 03:04:38 -0500 Subject: [PATCH] Remove drawing strategies from demo branch. Resolve Issue #61. --- Adventures in Lestoria/AdventuresInLestoria.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Adventures in Lestoria/AdventuresInLestoria.cpp b/Adventures in Lestoria/AdventuresInLestoria.cpp index fbc09ad1..ceddc07c 100644 --- a/Adventures in Lestoria/AdventuresInLestoria.cpp +++ b/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; }