From 15f4780dd94a06bec5616155c05810c731d2e4af Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Wed, 13 Dec 2017 12:02:48 +0100 Subject: Add the alien. --- src/game/game.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game/game.cpp') 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) -- cgit