#ifndef _ShipEquipment_H__ #define _ShipEquipment_H__ #include #include "SpaceShip.h" #include /* multimap equipment_; equipment_.insert(pair("Weapon", new Item()));*/ /* std::map EQClasses; EQClasses["jacke"] = 0; Item* item = itemMap_["jacke"]; if (itemMap_["jacke"]) if (itemMap_.find("jacke") != itemMap_.end()) */ namespace orxonox{ class _OrxonoxExport ShipEquipment{ public: void AddItem(Shipitem* toAddItem); void RemoveItem(Shipitem* toRemoveItem); bool CheckifValid(Shipitem* toBeChecked); bool CheckifSpace(); private: multimap Equipment; multimap Usable; multimap Trunk; }; } #endif