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

class Game;

class System {
  public:
    System(Game& game)
      : game(game) {}

    virtual void tick(double dt) = 0;

  protected:
    Game& game;
};

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