diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-05 17:45:30 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-05 17:45:30 +0000 |
commit | c11c0174ece92b4502648ad33653975bfdfc39a0 (patch) | |
tree | 88860bfcbb7206834e61533af79f7631b5638cb2 /src/game | |
parent | 7218e3bd4616d4706090ec47d72845a2bb89c6a3 (diff) |
lights with entity color, sunlight, network stats
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(); |