Restructered Folders and Added Screens to the Game

This commit is contained in:
Julian Nießner
2018-05-11 10:11:06 +02:00
parent 9083487ac9
commit c7426bf24b
11 changed files with 86 additions and 3 deletions

19
src/input/InputHandler.h Normal file
View 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