From a743791e624590e0b41229f28f940db5272b60ba Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 7 Aug 2008 23:27:42 +0000 Subject: rotating planets, navpoints, network protocol updates, entity event state --- src/game/navpoint.cc | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/game/navpoint.cc (limited to 'src/game/navpoint.cc') diff --git a/src/game/navpoint.cc b/src/game/navpoint.cc new file mode 100644 index 0000000..24e87ca --- /dev/null +++ b/src/game/navpoint.cc @@ -0,0 +1,27 @@ +/* + game/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 "game/navpoint.h" +#include "game/game.h" + +namespace game +{ + +NavPoint::NavPoint() : core::Entity(core::Entity::Static | core::Entity::Bright) +{ + entity_shape = core::Entity::Diamond; + entity_color.assign(1.0f, 1.0f); + entity_color_second.assign(0.6f, 1.0f); + entity_radius = 0.25f; + + entity_moduletypeid = navpoint_enttype; +} + +NavPoint::~NavPoint() +{ +} + +} -- cgit v1.2.3