blob: ccfb3d88a6c70d1c34d4e8b985bb2a40a5c43ccb (
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
|
/*
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_moduletypeid = navpoint_enttype;
set_shape(core::Entity::Diamond);
set_radius(0.25);
// use template settings if available
if (navpoint_template) {
navpoint_template->apply(this);
}
}
NavPoint::~NavPoint()
{
}
}
|