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/shipmodel.h')
-rw-r--r--src/game/base/shipmodel.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/base/shipmodel.h b/src/game/base/shipmodel.h
index ef7ff15..a7c8500 100644
--- a/src/game/base/shipmodel.h
+++ b/src/game/base/shipmodel.h
@@ -10,6 +10,7 @@
#include <string>
#include "core/info.h"
+#include "core/entity.h"
namespace game
{
@@ -90,11 +91,13 @@ public:
void generate_info();
+ void buy(core::EntityControlable *buyer, core::Entity *seller);
+
/* --- static registry functions ---------------------------------- */
static ShipModel *find(const std::string & label);
- static ShipModel *search(const std::string & searchstr);
+ static ShipModel *search(const std::string & searchstr);
static bool init();