#include "SDL.h"

#ifndef INPUTHANDLER_H_
#define INPUTHANDLER_H_

class InputHandler {
public:
	enum GameInputEvents {
		Restart,
		Escape,
		ToggleLight,
		ToggleLaser,
		ShowChar,
		Pause,
		MoveLeft,
		MoveRight,
		MoveUp,
		MoveDown,
		Help,
		Fire,
		Reload,
		GameInputEventsCount
	};
	InputHandler();
	void process(int deltaTime);
	bool getDownInput(GameInputEvents evnt);
	bool getPressInput(GameInputEvents evnt);
	int mouseX, mouseY;
private:
	bool m_event[GameInputEventsCount];
	int m_eventMap[GameInputEventsCount];
};

#endif /* INPUTHANDLER_H_ */
