Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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;
+
};
}