ES-DE/src/Window.h

33 lines
457 B
C
Raw Normal View History

#ifndef _WINDOW_H_
#define _WINDOW_H_
#include "Gui.h"
#include "InputManager.h"
#include <vector>
class Window
{
public:
Window();
~Window();
void pushGui(Gui* gui);
void removeGui(Gui* gui);
Gui* peekGui();
void input(InputConfig* config, Input input);
void update(int deltaTime);
void render();
2013-04-08 17:40:15 +00:00
void init();
void deinit();
InputManager* getInputManager();
private:
InputManager* mInputManager;
std::vector<Gui*> mGuiStack;
};
#endif