equal
deleted
inserted
replaced
3 #include "Engine.hh" |
3 #include "Engine.hh" |
4 #include "Config.hh" |
4 #include "Config.hh" |
5 #include "Error.hh" |
5 #include "Error.hh" |
6 |
6 |
7 GameState::GameState (Terrain &terrain) : |
7 GameState::GameState (Terrain &terrain) : |
8 world(Vector(0, MAP_GRAVITY), Vector(terrain.getWidth(), terrain.getHeight()), terrain), |
8 world(Vector(0, MAP_GRAVITY), Vector((float) terrain.getWidth(), (float) terrain.getHeight()), terrain), |
9 terrain(terrain), |
9 terrain(terrain), |
10 local_player(NULL), event_handler(NULL) |
10 local_player(NULL), event_handler(NULL) |
11 { |
11 { |
12 |
12 |
13 } |
13 } |