demo update
This commit is contained in:
@@ -17,8 +17,11 @@
|
||||
#include "./terrain/terrain.hpp"
|
||||
#include "./skybox/skybox.hpp"
|
||||
#include "./ship/ship.hpp"
|
||||
#include "./hud/hud.hpp"
|
||||
#include "./enemy/enemy_manager.hpp"
|
||||
|
||||
using std::unique_ptr;
|
||||
|
||||
namespace Demo {
|
||||
|
||||
class GameState : public State<GlobalStateType> {
|
||||
@@ -44,11 +47,12 @@ class GameState : public State<GlobalStateType> {
|
||||
u8 fpsChecker;
|
||||
|
||||
GameRenderer renderer;
|
||||
Player* player;
|
||||
EnemyManager* enemyManager;
|
||||
Terrain* terrain;
|
||||
Skybox* skybox;
|
||||
Ship* ship;
|
||||
unique_ptr<Player> player;
|
||||
unique_ptr<EnemyManager> enemyManager;
|
||||
unique_ptr<Terrain> terrain;
|
||||
unique_ptr<Skybox> skybox;
|
||||
unique_ptr<Ship> ship;
|
||||
unique_ptr<Hud> hud;
|
||||
};
|
||||
|
||||
} // namespace Demo
|
||||
|
||||
Reference in New Issue
Block a user