Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/orxonox/objects/pickup/ShipEquipmentClasses.h @ 2831

Last change on this file since 2831 was 2662, checked in by rgrieder, 16 years ago

Merged presentation branch back to trunk.

  • Property svn:eol-style set to native
File size: 1.1 KB
RevLine 
[1998]1
2#ifndef _ShipEquipment_H__
3#define _ShipEquipment_H__
4#include <string>
5#include "SpaceShip.h"
6#include <map>
7
8
9/*
[2662]10multimap<std::string, BaseItem*> equipment_;
11equipment_.insert(pair<std::string, BaseItem*>("Weapon", new BaseItem()));*/
[1998]12
13
[2662]14/*          std::map<std::itemtype, BaseItem*> EQClasses;
[2094]15            EQClasses["jacke"] = 0;
[2662]16            BaseItem* item = itemMap_["jacke"];
[2083]17
[1998]18           if (itemMap_["jacke"])
19           if (itemMap_.find("jacke") != itemMap_.end()) */
[2094]20namespace orxonox
21{
22    class _OrxonoxExport ShipEquipment
23    {
24        public:
[2662]25            /*void AddItem(Shipitem* toAddItem);
[2094]26            void RemoveItem(Shipitem* toRemoveItem);
27            bool CheckifValid(Shipitem* toBeChecked);
28            bool CheckifSpace();
[2662]29            void SwitchItem(Permanent* toSwitchItem);
30            string GetNameofPermanent (subItemTypePermanent NametoGet);*/ //holt den Namen des getragenen Items im jeweiligen Slot.
[2083]31
[2094]32        private:
[2662]33            multimap<std::string, BaseItem*> Equipment;
34            multimap<std::string, BaseItem*> Usable;
35            multimap<std::string, BaseItem*> Trunk;
[2094]36    };
[2055]37}
[1998]38
39
40
41
42
43
44
45
46
47
48
49
50
[2055]51
[2089]52#endif
Note: See TracBrowser for help on using the repository browser.