Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
blob: 10bb6ee8f2ff8dcbe842bc3624856afd21ee7e56 (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_shape = core::entity::Sphere;	// a star is a sphere
	core_color = math::Color(1,1,1,1);	// white
	core_radius = 48;			// 48 game units

	type = star_enttype;
}

Star::~Star()
{
}

} // namespace game