X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FSelectTarget.h;h=4d53c3c76f76491abdb8e2815e5ae8e43d217300;hb=4309d259becd96ead792678257e910c03a6b4a3d;hp=01ebba72315dffee10258c84b8daabcf59f0e747;hpb=3f8fac16c7ae2cbe7da47b98aba9b558825723e7;p=l2e.git diff --git a/src/battle/states/SelectTarget.h b/src/battle/states/SelectTarget.h index 01ebba7..4d53c3c 100644 --- a/src/battle/states/SelectTarget.h +++ b/src/battle/states/SelectTarget.h @@ -1,17 +1,20 @@ -/* - * SelectTarget.h - * - * Created on: Aug 9, 2012 - * Author: holy - */ - #ifndef BATTLE_SELECTTARGET_H_ #define BATTLE_SELECTTARGET_H_ -#include "../fwd.h" +namespace battle { + class BattleState; + class SelectAttackType; + class TargetSelection; +} +namespace math { + template + class Vector; +} +namespace graphics { + class Sprite; +} + #include "../../app/State.h" -#include "../../geometry/Vector.h" -#include "../../graphics/fwd.h" namespace battle { @@ -24,19 +27,19 @@ public: public: virtual void HandleEvents(const app::Input &); - virtual void UpdateWorld(float deltaT); + virtual void UpdateWorld(Uint32 deltaT); 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 RenderCursors(SDL_Surface *screen, const geometry::Vector &offset); + void RenderCursors(SDL_Surface *screen, const math::Vector &offset); private: BattleState *battle; @@ -49,4 +52,4 @@ private: } -#endif /* BATTLE_SELECTTARGET_H_ */ +#endif