X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FSelectIkari.h;h=ca08732e5ffe8a25b98bfe547c7cee6f49f9d666;hb=06db9f596cd1c5aa4c0832b387882f7c74c1b4c0;hp=a7383a0535fd690b6f38b063b06366852f8acf71;hpb=7252571fb926a187c4c40e8f4eec718f16d63ffa;p=l2e.git diff --git a/src/battle/states/SelectIkari.h b/src/battle/states/SelectIkari.h index a7383a0..ca08732 100644 --- a/src/battle/states/SelectIkari.h +++ b/src/battle/states/SelectIkari.h @@ -10,7 +10,7 @@ #include "../fwd.h" #include "../../app/State.h" -#include "../../geometry/Vector.h" +#include "../../math/Vector.h" namespace battle { @@ -20,7 +20,7 @@ class SelectIkari public: SelectIkari(BattleState *battle, SelectAttackType *parent) - : ctrl(0), battle(battle), parent(parent) { } + : battle(battle), parent(parent) { } public: virtual void HandleEvents(const app::Input &); @@ -28,20 +28,19 @@ public: virtual void Render(SDL_Surface *); private: - virtual void OnEnterState(app::Application &ctrl, SDL_Surface *screen); - virtual void OnExitState(app::Application &ctrl, SDL_Surface *screen); - virtual void OnResumeState(app::Application &ctrl, SDL_Surface *screen); - virtual void OnPauseState(app::Application &ctrl, SDL_Surface *screen); + virtual void OnEnterState(SDL_Surface *screen); + virtual void OnExitState(SDL_Surface *screen); + virtual void OnResumeState(SDL_Surface *screen); + virtual void OnPauseState(SDL_Surface *screen); virtual void OnResize(int width, int height); private: - void RenderFrame(SDL_Surface *, const geometry::Vector &offset); - void RenderHeadline(SDL_Surface *, const geometry::Vector &offset); - void RenderMenu(SDL_Surface *, const geometry::Vector &offset); + void RenderFrame(SDL_Surface *, const math::Vector &offset); + void RenderHeadline(SDL_Surface *, const math::Vector &offset); + void RenderMenu(SDL_Surface *, const math::Vector &offset); private: - app::Application *ctrl; BattleState *battle; SelectAttackType *parent;