| Line | |
|---|
| 1 | |
|---|
| 2 | #ifndef _ShipEquipment_H__ |
|---|
| 3 | #define _ShipEquipment_H__ |
|---|
| 4 | #include <string> |
|---|
| 5 | #include <multimap> |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | /* |
|---|
| 9 | multimap<std::string, Item*> equipment_; |
|---|
| 10 | equipment_.insert(pair<std::string, Item*>("Weapon", new Item()));*/ |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | namespaces orxonox{ |
|---|
| 14 | |
|---|
| 15 | class _OrxonoxExport ShipEquipment{ |
|---|
| 16 | public: |
|---|
| 17 | void AddItem(Shipitem toAddItem); |
|---|
| 18 | void RemoveItem(Shipitem toRemoveItem); |
|---|
| 19 | bool CheckifValid(Shipitem toBeChecked); |
|---|
| 20 | int |
|---|
| 21 | private: |
|---|
| 22 | std::multimap<std::string, Item*> Equipment; |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | |
|---|
| 39 | |
|---|
| 40 | |
|---|
| 41 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.