blob: 367054f1fccd886d71bb97bc2415c0c02e871698 (
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
|
/*
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::EntityGlobe(core::Entity::Static | core::Entity::Solid | core::Entity::Bright)
{
entity_color = math::Color(1,1,1,1); // white
entity_radius = 48; // 48 game units
entity_moduletypeid = star_enttype;
}
Star::~Star()
{
}
} // namespace game
|