diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/star.cc | 2 | ||||
-rw-r--r-- | src/game/star.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/star.cc b/src/game/star.cc index 1d154fe..0a12593 100644 --- a/src/game/star.cc +++ b/src/game/star.cc @@ -10,7 +10,7 @@ namespace game { -Star::Star() : core::Entity(core::Entity::Static | core::Entity::Solid | core::Entity::Bright) +Star::Star() : core::EntityGlobe(core::Entity::Static | core::Entity::Solid | core::Entity::Bright) { entity_shape = core::Entity::Sphere; // a star is a sphere entity_color = math::Color(1,1,1,1); // white diff --git a/src/game/star.h b/src/game/star.h index e953f3c..ecc7ade 100644 --- a/src/game/star.h +++ b/src/game/star.h @@ -17,7 +17,7 @@ namespace game { /// a star, that shines so bright -class Star : public core::Entity { +class Star : public core::EntityGlobe { public: Star(); ~Star(); |