Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/pickups/src/orxonox/objects/pickup/ShipEquipment.h @ 2055

Last change on this file since 2055 was 2000, checked in by dsommer, 16 years ago

Adding Subclasses to ShipItem.h

File size: 486 bytes
Line 
1
2#ifndef _ShipEquipment_H__
3#define _ShipEquipment_H__
4#include <string>
5#include <multimap>
6
7
8/*
9multimap<std::string, Item*> equipment_;
10equipment_.insert(pair<std::string, Item*>("Weapon", new Item()));*/
11
12
13namespaces 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.