- Timestamp:
- Nov 28, 2008, 2:00:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickups2/src/orxonox/objects/pickup/ShipEquipment.cc
r2290 r2293 1 #include "Item.h" 1 2 2 #include "ShipEquipment.h"3 3 4 4 namespace orxonox 5 5 { 6 bool insert(Item* item)6 bool ShipEquipment::insert(Item* item) 7 7 { 8 8 if(checkSlot(player)==true) … … 11 11 COUT(3) << "swap?" << std::endl; 12 12 13 14 15 16 17 13 }; 18 bool erase (Item* item)14 bool ShipEquipment::erase (Item* item) 19 15 { 20 16 if(Equipment.find(item->getName())!= Equipment.end()) … … 28 24 return false; 29 25 }; 30 bool checkSlot(Item* item) const26 bool ShipEquipment::checkSlot(Item* item) const 31 27 { 32 28 std::multimap<std::string,Item*>::iterator it;
Note: See TracChangeset
for help on using the changeset viewer.