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:
@@ -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;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user