X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FSelectTarget.cpp;h=c685dab8947108aa78b83d0a794fdac07da6fba9;hb=092a2dd175a4001a495c84ee85211734fb928c83;hp=1961738623a30a1c9f3ec2f90c340c3a651f4dbe;hpb=5ca18f73987fb3935ab34654cbbecf5eca4704cb;p=l2e.git diff --git a/src/battle/states/SelectTarget.cpp b/src/battle/states/SelectTarget.cpp index 1961738..c685dab 100644 --- a/src/battle/states/SelectTarget.cpp +++ b/src/battle/states/SelectTarget.cpp @@ -11,10 +11,11 @@ #include "../BattleState.h" #include "../../app/Application.h" #include "../../app/Input.h" +#include "../../math/Vector.h" using app::Application; using app::Input; -using geometry::Vector; +using math::Vector; using std::vector; namespace battle { @@ -75,7 +76,7 @@ void SelectTarget::HandleEvents(const Input &input) { } } -void SelectTarget::UpdateWorld(float deltaT) { +void SelectTarget::UpdateWorld(Uint32 deltaT) { } @@ -85,7 +86,7 @@ void SelectTarget::Render(SDL_Surface *screen) { RenderCursors(screen, offset); } -void SelectTarget::RenderCursors(SDL_Surface *screen, const geometry::Vector &offset) { +void SelectTarget::RenderCursors(SDL_Surface *screen, const math::Vector &offset) { Vector cursorOffset(cursorIcon->Width() / -2, cursorIcon->Height()); // offset the indicator by 1/8th to the right and top Vector indicatorOffset(cursorOffset + Vector(cursorIcon->Width() / 8, cursorIcon->Height() / -8));