Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 1, 2008, 9:14:14 PM (15 years ago)
Author:
landauf
Message:

found more tabs in pickups ;)

File:
1 edited

Legend:

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

    r2089 r2094  
    1212
    1313
    14 /*                              std::map<std::itemtype, Item*> EQClasses;
    15                 EQClasses["jacke"] = 0;
     14/*          std::map<std::itemtype, Item*> EQClasses;
     15            EQClasses["jacke"] = 0;
    1616            Item* item = itemMap_["jacke"];
    1717
    1818           if (itemMap_["jacke"])
    1919           if (itemMap_.find("jacke") != itemMap_.end()) */
    20 namespace orxonox{
     20namespace orxonox
     21{
     22    class _OrxonoxExport ShipEquipment
     23    {
     24        public:
     25            void AddItem(Shipitem* toAddItem);
     26            void RemoveItem(Shipitem* toRemoveItem);
     27            bool CheckifValid(Shipitem* toBeChecked);
     28            bool CheckifSpace();
    2129
    22         class _OrxonoxExport ShipEquipment{
    23         public:
    24                 void AddItem(Shipitem* toAddItem);
    25                 void RemoveItem(Shipitem* toRemoveItem);
    26                 bool CheckifValid(Shipitem* toBeChecked);
    27                 bool CheckifSpace();
    28         private:
    29                 multimap<std::string, ShipItem*> Equipment;
    30                 multimap<std::string, ShipItem*> Usable;
    31                 multimap<std::string, ShipItem*> Trunk;
    32         };
    33 
    34 
     30        private:
     31            multimap<std::string, ShipItem*> Equipment;
     32            multimap<std::string, ShipItem*> Usable;
     33            multimap<std::string, ShipItem*> Trunk;
     34    };
    3535}
    3636
Note: See TracChangeset for help on using the changeset viewer.