blob: 78f1ae0183e2042b6fa1be8d54276ff1a1bfd4f1 (
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
|
/*
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
{
NavPoint::NavPoint() : core::Entity(core::Entity::Static | core::Entity::Bright)
{
//set_flag(core::Entity::ShowOnMap);
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;
}
NavPoint::~NavPoint()
{
}
}
|