#pragma once #include #include "GameState.h" struct InputComponent { public: virtual ~InputComponent() {}; virtual GameState update(SDL_Event const* event) = 0; bool moveUp; bool moveDown; bool moveLeft; bool moveRight; };