source:
code/trunk/src/orxonox/objects/pickup/ShipEquipment.h
@
2501
Last change on this file since 2501 was 2094, checked in by landauf, 16 years ago | |
---|---|
|
|
File size: 567 bytes |
Rev | Line | |
---|---|---|
[2000] | 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 | ||
[2094] | 13 | namespace orxonox |
14 | { | |
15 | class _OrxonoxExport ShipEquipment | |
16 | { | |
17 | public: | |
18 | void AddItem(Shipitem toAddItem); | |
19 | void RemoveItem(Shipitem toRemoveItem); | |
20 | bool CheckifValid(Shipitem toBeChecked); | |
21 | int | |
[2000] | 22 | |
[2094] | 23 | private: |
24 | std::multimap<std::string, Item*> Equipment; | |
25 | }; | |
[2083] | 26 | } |
[2000] | 27 | |
28 | ||
29 | ||
30 | ||
31 | ||
32 | ||
33 | ||
34 | ||
35 | ||
36 | ||
37 | ||
38 | ||
39 | ||
40 | ||
41 | ||
42 | ||
43 | ||
44 | ||
45 | #endif |
Note: See TracBrowser
for help on using the repository browser.