Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 15, 2010, 7:33:11 AM (14 years ago)
Author:
dafrick
Message:

Added changedPickedUp method to Pickupable to solve a problem in PickupCollection, which, for the most part, works now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickup3/src/modules/pickup/Pickup.cc

    r6515 r6521  
    182182    @brief
    183183        Should be called when the pickup has transited from picked up to dropped or the other way around.
    184         Any Class overwriting this method must call its SUPER function by adding SUPER(Classname, changedCarrier); to their changedCarrier method.
    185     */
    186     void Pickup::changedCarrier(void)
    187     {
    188         SUPER(Pickup, changedCarrier);
     184        Any Class overwriting this method must call its SUPER function by adding SUPER(Classname, changedPickedUp); to their changedPickedUp method.
     185    */
     186    void Pickup::changedPickedUp(void)
     187    {
     188        SUPER(Pickup, changedPickedUp);
    189189       
    190190        //! Sets the Pickup to used if the Pickup has activation type 'immediate' and gets picked up.
Note: See TracChangeset for help on using the changeset viewer.