Input processor interface and sdl implementation added, now frees text textures after displaying text, need to look into caching so we can let manager handle it

This commit is contained in:
2021-12-06 14:54:11 -05:00
parent 26b341ee63
commit 994a128c14
11 changed files with 619 additions and 11 deletions

View File

@@ -12,7 +12,7 @@
class Visualizer : public Game {
public:
bool update() override;
bool update(InputResult input) override;
void render(Renderer* renderer) override;
@@ -25,6 +25,7 @@ public:
private:
int x = 0;
int sprite_index = 1;
};