diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-12-13 12:02:48 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-12-13 12:02:48 +0100 |
commit | 15f4780dd94a06bec5616155c05810c731d2e4af (patch) | |
tree | 11c6917805582f603e36bc47e7fd14f95b713a2b /src/game/game.cpp | |
parent | efaa4c026b60d52705b163f6886567793ef94123 (diff) |
Add the alien.
Diffstat (limited to 'src/game/game.cpp')
-rw-r--r-- | src/game/game.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp index e58b8d5..71d24ac 100644 --- a/src/game/game.cpp +++ b/src/game/game.cpp @@ -7,12 +7,17 @@ size_t selection_cookie = 1; void state_t::start(void) { human_t *human; + alien_t *alien; world.generator = worldgen; human = new human_t; human->place(&world, v2f_t(0.5, 0.5)); units.insert(human); + + alien = new alien_t; + alien->place(&world, v2f_t(5.5, 5.5)); + units.insert(alien); } void state_t::stop(void) |