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

class Game;

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

  virtual ~System() = default;

  virtual void tick(double dt) = 0;

protected:

  Game& game;
};

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