Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-11-10 18:02:13 +0000
committerStijn Buys <ingar@osirion.org>2008-11-10 18:02:13 +0000
commit03d5bc014c0e815c6aaeec16d81e225e08732ab0 (patch)
tree05aa0464284059bdc05d96f3cc17e081a0da78ee /src/game/base/planet.h
parenta1eb1b4dc4d81df724ee43fc4e895dd22e81760f (diff)
adds jumpgate, station, ship dealer
Diffstat (limited to 'src/game/base/planet.h')
-rw-r--r--src/game/base/planet.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/game/base/planet.h b/src/game/base/planet.h
index 89b4387..e6fa41a 100644
--- a/src/game/base/planet.h
+++ b/src/game/base/planet.h
@@ -7,6 +7,7 @@
#ifndef __INCLUDED_BASE_PLANET_H__
#define __INCLUDED_BASE_PLANET_H__
+#include "base/shipdealer.h"
#include "core/entity.h"
#include "math/mathlib.h"
@@ -18,7 +19,15 @@ namespace game {
class Planet : public core::EntityGlobe {
public:
Planet();
- ~Planet();
+ virtual ~Planet();
+
+ inline ShipDealer *shipdealer() { return planet_shipdealer; }
+
+ void set_shipdealer(ShipDealer *shipdealer);
+
+private:
+ ShipDealer *planet_shipdealer;
+
};
}