summary refs log tree commit diff stats
path: root/src/simulation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulation.h')
-rw-r--r--src/simulation.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/simulation.h b/src/simulation.h index abff3da..1502a70 100644 --- a/src/simulation.h +++ b/src/simulation.h
@@ -1,8 +1,8 @@
1#ifndef SIMULATION_H_7BF6EEA4 1#ifndef SIMULATION_H_7BF6EEA4
2#define SIMULATION_H_7BF6EEA4 2#define SIMULATION_H_7BF6EEA4
3 3
4#include "state.h"
4#include "entity.h" 5#include "entity.h"
5#include "renderer.h"
6#include "schedule.h" 6#include "schedule.h"
7#include <range/v3/all.hpp> 7#include <range/v3/all.hpp>
8#include <vector> 8#include <vector>
@@ -11,7 +11,7 @@
11 11
12class Level; 12class Level;
13 13
14class Simulation { 14class Simulation : public State {
15public: 15public:
16 16
17 // Constructor 17 // Constructor
@@ -19,7 +19,9 @@ public:
19 19
20 void tick( 20 void tick(
21 double dt, 21 double dt,
22 const Uint8* keystate); 22 const Uint8* keystate) override;
23
24 void render(SDL_Renderer* ren) override;
23 25
24 id_type emplaceEntity(); 26 id_type emplaceEntity();
25 27