summary refs log tree commit diff stats
path: root/src/state.h
blob: 3c3cfb411609a335f4ebe946863d98a1c114ac75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef STATE_H_86BFEF59
#define STATE_H_86BFEF59

#include "renderer.h"

class State {
public:

  virtual ~State() = default;

  virtual void tick(
    double dt,
    const Uint8* keystate) = 0;

  virtual void render(SDL_Renderer* ren) = 0;

};

#endif /* end of include guard: STATE_H_86BFEF59 */