-/*
- * ConfigMenu.h
- *
- * Created on: Nov 29, 2012
- * Author: holy
- */
-
#ifndef MENU_CONFIGMENU_H_
#define MENU_CONFIGMENU_H_
-#include "fwd.h"
+namespace math {
+ template<class>
+ class Vector;
+}
+namespace menu {
+ class PartyMenu;
+}
+
#include "../app/State.h"
-#include "../geometry/Vector.h"
+#include "../graphics/Menu.h"
namespace menu {
public:
virtual void HandleEvents(const app::Input &);
- virtual void UpdateWorld(float deltaT);
+ virtual void UpdateWorld(Uint32 deltaT);
virtual void Render(SDL_Surface *);
public:
virtual void OnResize(int width, int height);
- void RenderHeadline(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
- void RenderMenu(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
+ void RenderHeadline(SDL_Surface *screen, const math::Vector<int> &offset) const;
+ void RenderMenu(SDL_Surface *screen, const math::Vector<int> &offset) const;
private:
PartyMenu *parent;
+ graphics::Menu<int> configMenu;
};
}
-#endif /* MENU_CONFIGMENU_H_ */
+#endif