diff options
Diffstat (limited to 'src/game/star.cc')
-rw-r--r-- | src/game/star.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/game/star.cc b/src/game/star.cc index 5fed82a..10bb6ee 100644 --- a/src/game/star.cc +++ b/src/game/star.cc @@ -4,7 +4,7 @@ the terms of the GNU General Public License version 2. */ -#include "game/shared.h" +#include "game/game.h" #include "game/star.h" @@ -12,9 +12,11 @@ namespace game { Star::Star() : core::Entity(core::entity::Static & core::entity::Solid) { - base_shape = core::entity::Sphere; // a star is a sphere - base_color = math::Color(1,1,1,1); // white - base_radius = 48; // 48 game units + core_shape = core::entity::Sphere; // a star is a sphere + core_color = math::Color(1,1,1,1); // white + core_radius = 48; // 48 game units + + type = star_enttype; } Star::~Star() |