summary refs log tree commit diff stats
path: root/src/state.h
blob: e7962ec56841e70c39537d6b8660f6bf8b68a492 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef STATE_H
#define STATE_H

#include "renderer.h"

class State {
public:
  virtual void input(int key, int action) = 0;
  virtual void tick() = 0;
  virtual void render(Texture* tex) = 0;
};

#endif