Restructered Folders and Added Screens to the Game
This commit is contained in:
19
src/input/InputHandler.h
Normal file
19
src/input/InputHandler.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef INPUTHANDLER_H
|
||||
#define INPUTHANDLER_H
|
||||
#include <SDL.h>
|
||||
|
||||
#include "Command.h"
|
||||
|
||||
class InputHandler {
|
||||
public:
|
||||
~InputHandler();
|
||||
InputHandler();
|
||||
Command* handleInput(SDL_Event *event);
|
||||
|
||||
private:
|
||||
Command* W;
|
||||
Command* A;
|
||||
Command* S;
|
||||
Command* D;
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user