diff options
author | Stijn Buys <ingar@osirion.org> | 2010-09-18 18:50:55 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-09-18 18:50:55 +0000 |
commit | 9c91a9767b570fdc3c3e19e1f452f9a8257f9999 (patch) | |
tree | 9ac10114a3378134ea19dac3d7f7639532c3bf5a /src/game/base/cargo.h | |
parent | fc4809e41bc5694231046eb2fd4c324c4daba13f (diff) |
trade updates
Diffstat (limited to 'src/game/base/cargo.h')
-rw-r--r-- | src/game/base/cargo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/base/cargo.h b/src/game/base/cargo.h index 808b4c0..9b2bca5 100644 --- a/src/game/base/cargo.h +++ b/src/game/base/cargo.h @@ -17,9 +17,14 @@ public: Cargo(); ~Cargo(); + void buy(core::EntityControlable *buyer, core::Entity *seller, const int amount); + + /* -- static functions -- */ static core::InfoType *cargo_infotype; static Cargo *find(const std::string & label); + + static bool init(); }; } // namespace game |