blob: f7d6046ba2f80579bb0faa4cdf1f4e7ef2572597 (
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()
{
set_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()
{
}
}
|