blob: 5fed82a83aa21f22166d7fbab69be71f6cf8d4bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/*
game/star.cc
This file is part of the Osirion project and is distributed under
the terms of the GNU General Public License version 2.
*/
#include "game/shared.h"
#include "game/star.h"
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
}
Star::~Star()
{
}
} // namespace game
|