Last change
on this file since 2251 was
2083,
checked in by landauf, 16 years ago
|
made some small adjustments in Pickups branch
|
File size:
493 bytes
|
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 | namespace 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 | |
---|
42 | |
---|
43 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.