Changeset 2089
- Timestamp:
- Nov 1, 2008, 7:19:31 PM (16 years ago)
- Location:
- code/trunk/src/orxonox/objects/pickup
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/pickup/ShipEquipment.h
- Property svn:eol-style set to native
-
code/trunk/src/orxonox/objects/pickup/ShipEquipmentClasses.cc
- Property svn:eol-style set to native
r2088 r2089 14 14 15 15 bool CheckifValid(Shipitem* toBeChecked){ 16 16 17 17 switch(toBeChecked.CheckType()) 18 18 { … … 58 58 return true; 59 59 } 60 /*Adds the Item to the Ship*/ 60 /*Adds the Item to the Ship*/ 61 61 void AddItem(Shipitem* toAddItem){ 62 62 if(CheckifValid(toAddItem)==true){ … … 72 72 break; 73 73 } 74 74 75 75 } 76 76 else if(toAddItem.CheckType()==Permanent){ 77 77 if(CheckifSpace()==true) 78 78 Trunk.insert ( pair<std::string, ShipItem*>(toAddItem.itemname,*toAddItem) ); 79 79 80 80 } 81 81 82 82 } -
code/trunk/src/orxonox/objects/pickup/ShipEquipmentClasses.h
- Property svn:eol-style set to native
-
code/trunk/src/orxonox/objects/pickup/ShipItem.cc
- Property svn:eol-style set to native
-
code/trunk/src/orxonox/objects/pickup/ShipItem.h
- Property svn:eol-style set to native
-
code/trunk/src/orxonox/objects/pickup/Usable.h
- Property svn:eol-style set to native
Note: See TracChangeset
for help on using the changeset viewer.