Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
blob: 2c76807b13ddb1e064135fa4f33dbf922e37061e (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
27
28
29
30
31
32
33
34
35
/*
   base/navpoint.cc
   This file is part of the Osirion project and is distributed under
   the terms and conditions of the GNU General Public License version 2
*/

#include "base/navpoint.h"
#include "base/game.h"

namespace game
{

const Template *NavPoint::navpoint_template = 0;
	
NavPoint::NavPoint() : core::Entity()
{
	entity_shape = core::Entity::Diamond;
	get_color().assign(1.0f, 1.0f);
	get_color_second().assign(0.6f, 1.0f);
	set_radius(0.25f);
	
	entity_moduletypeid = navpoint_enttype;
	
	// use template settings if available
	if (navpoint_template) {
		navpoint_template->apply(this);
	}

}

NavPoint::~NavPoint()
{
}

}