Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2008, 8:24:53 PM (16 years ago)
Author:
dsommer
Message:

teilweise doxy geaddet und weitere test instanzen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickups2/src/orxonox/objects/pickup/ShipEquipment.cc

    r2389 r2397  
    66namespace orxonox
    77{
     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.
    814
     15@return
     16    if new item has sucessfully been added it will return true, in any other case the return value is false.
     17*/
    918        bool ShipEquipment::insert(Item* item)
    1019        {
     
    1726        {
    1827                COUT(3) << "SWAP?" <<  endl;
     28                //Abfrage- irgendne ifschleife...
    1929                if((checkSlot(item)->dropped(player))==true);
    2030                {
     
    2838        return false;
    2939        };
     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*/
    3051        bool ShipEquipment::erase (Item* item)
    3152        {
     
    4667
    4768        }*/
     69/**
     70@brief
     71    Erases all permanent Items in the Equipment. Its Triggered by hitting the L button.
     72
     73*/
    4874        void ShipEquipment::eraseAll()
    4975        {
Note: See TracChangeset for help on using the changeset viewer.