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/patrol.h')
-rw-r--r--src/game/base/patrol.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/game/base/patrol.h b/src/game/base/patrol.h
index debd0e4..4c612fe 100644
--- a/src/game/base/patrol.h
+++ b/src/game/base/patrol.h
@@ -9,6 +9,7 @@
#include "core/entity.h"
#include "base/faction.h"
+#include "base/cargo.h"
#include "base/npc.h"
namespace game
@@ -49,15 +50,15 @@ public:
return waypoint_dock;
}
- inline const std::string & buy_label() const {
- return waypoint_buy_label;
+ inline const Cargo *cargo() const {
+ return waypoint_cargo;
}
void set_target(core::Entity *entity);
void set_target_label(const std::string &label);
- void set_buy_label(const std::string &label);
+ void set_cargo(Cargo *cargo);
void set_dock(const bool dock);
@@ -66,7 +67,7 @@ public:
core::Entity *waypoint_target;
- std::string waypoint_buy_label;
+ Cargo *waypoint_cargo;
bool waypoint_dock;
};