- Timestamp:
- Dec 10, 2008, 8:24:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickups2/src/orxonox/objects/pickup/ShipEquipment.cc
r2389 r2397 6 6 namespace orxonox 7 7 { 8 /** 9 @brief 10 Insert a permanent Item to the Equipment. Is usually called by the addTo function in Items. 11 12 @param item 13 pointer to the item which is to be inserted. 8 14 15 @return 16 if new item has sucessfully been added it will return true, in any other case the return value is false. 17 */ 9 18 bool ShipEquipment::insert(Item* item) 10 19 { … … 17 26 { 18 27 COUT(3) << "SWAP?" << endl; 28 //Abfrage- irgendne ifschleife... 19 29 if((checkSlot(item)->dropped(player))==true); 20 30 { … … 28 38 return false; 29 39 }; 40 41 /** 42 @brief 43 Erases a permanent Item in the Equipment. Is usually called by the remove/dropped function in Items. 44 45 @param item 46 pointer to the item which is to be erased. 47 48 @return 49 if new item has sucessfully been erased it will return true, in any other case the return value is false. 50 */ 30 51 bool ShipEquipment::erase (Item* item) 31 52 { … … 46 67 47 68 }*/ 69 /** 70 @brief 71 Erases all permanent Items in the Equipment. Its Triggered by hitting the L button. 72 73 */ 48 74 void ShipEquipment::eraseAll() 49 75 {
Note: See TracChangeset
for help on using the changeset viewer.