Last change
on this file since 2691 was
2094,
checked in by landauf, 16 years ago
|
found more tabs in pickups
|
-
Property svn:eol-style set to
native
|
File size:
567 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 | { |
---|
17 | public: |
---|
18 | void AddItem(Shipitem toAddItem); |
---|
19 | void RemoveItem(Shipitem toRemoveItem); |
---|
20 | bool CheckifValid(Shipitem toBeChecked); |
---|
21 | int |
---|
22 | |
---|
23 | private: |
---|
24 | std::multimap<std::string, Item*> Equipment; |
---|
25 | }; |
---|
26 | } |
---|
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.