Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6684


Ignore:
Timestamp:
Apr 12, 2010, 1:55:31 PM (15 years ago)
Author:
benedict
Message:

minor changes in intendation & commenting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ppspickups2/src/modules/pickup/items/InvisiblePickup.cc

    r6641 r6684  
    4545namespace orxonox
    4646{
    47    
    48    
     47
    4948    CreateFactory(InvisiblePickup);
    5049   
     
    8786        this->addTarget(ClassIdentifier<Pawn>::getIdentifier());
    8887    }
    89  
    90    
    91    
    9288
    9389    /**
     
    10298         this->initializeIdentifier();
    10399    }
    104    
    105100   
    106101    /**
     
    118113        if (this->isUsed())
    119114        {
     115            this->startPickupTimer(this->getDuration());
    120116            this->setInvisible(true);
    121             this->startPickupTimer(this->getDuration());
    122117        }
    123118        else
     
    162157    }
    163158   
    164    
    165    
    166    
    167      
    168159    /**
    169160    @brief
     
    179170      return 0;
    180171    }
    181    
    182    
    183172   
    184173    /**
     
    201190    }
    202191   
    203    
    204    
    205     void InvisiblePickup::PickupTimerCallBack(void){
     192    void InvisiblePickup::PickupTimerCallBack(void)
     193    {
    206194        this->setInvisible(false);
    207195    }
Note: See TracChangeset for help on using the changeset viewer.