Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/star.cc')
-rw-r--r--src/game/star.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/game/star.cc b/src/game/star.cc
index 4ef22de..5fed82a 100644
--- a/src/game/star.cc
+++ b/src/game/star.cc
@@ -10,10 +10,11 @@
namespace game {
-Star::Star() : core::Entity(0, star_enttype),
- color(1,1,1,1)
+Star::Star() : core::Entity(core::entity::Static & core::entity::Solid)
{
- radius = 48;
+ 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
}
Star::~Star()