Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 29, 2008, 3:57:16 PM (16 years ago)
Author:
dsommer
Message:

Added checkifvalid, checkifslot and additem functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickups/src/orxonox/objects/pickup/ShipEquipmentClasses.h

    r1998 r2055  
    2222        class _OrxonoxExport ShipEquipment{
    2323        public:
    24                 void AddItem(Shipitem toAddItem);
    25                 void RemoveItem(Shipitem toRemoveItem);
    26                 bool CheckifValid(Shipitem toBeChecked);
    27                 int
     24                void AddItem(Shipitem* toAddItem);
     25                void RemoveItem(Shipitem* toRemoveItem);
     26                bool CheckifValid(Shipitem* toBeChecked);
     27                bool CheckifSpace();
    2828        private:
    29                 std::map<std::string, Item*> Shipitems;
    30                
    31                                
     29                multimap<std::string, ShipItem*> Equipment;
     30                multimap<std::string, ShipItem*> Usable;
     31                multimap<std::string, ShipItem*> Trunk;
    3232       
    3333
     34
     35}
    3436
    3537
Note: See TracChangeset for help on using the changeset viewer.