diff options
author | Stijn Buys <ingar@osirion.org> | 2008-08-07 23:27:42 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-08-07 23:27:42 +0000 |
commit | a743791e624590e0b41229f28f940db5272b60ba (patch) | |
tree | 6a6ec736e4ed34d5254a292889e6e33300919a63 /src/game/navpoint.cc | |
parent | 1f36b993d603c56251aa15eb6edc6b92ecf599ae (diff) |
rotating planets, navpoints, network protocol updates, entity event state
Diffstat (limited to 'src/game/navpoint.cc')
-rw-r--r-- | src/game/navpoint.cc | 27 |
1 files changed, 27 insertions, 0 deletions
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() +{ +} + +} |