blob: 1d154fed7a13b97fb9aa1b84a2aca9570c35ea51 (
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
25
26
|
/*
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/game.h"
#include "game/star.h"
namespace game {
Star::Star() : core::Entity(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
entity_radius = 48; // 48 game units
entity_moduletypeid = star_enttype;
}
Star::~Star()
{
}
} // namespace game
|