Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 18, 2010, 8:54:01 PM (14 years ago)
Author:
dafrick
Message:

Untangled Pickupable and PickupCarrier a little bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/orxonox/interfaces/Pickupable.h

    r7129 r7150  
    9595            virtual void changedPickedUp(void) {}
    9696
    97             bool pickedUp(PickupCarrier* carrier); //!< Sets the Pickupable to picked up.
    98             bool dropped(void); //!< Sets the Pickupable to not picked up or dropped.
     97            bool pickup(PickupCarrier* carrier);
     98            bool drop(bool createSpawner = true);
    9999
    100100            virtual bool isTarget(PickupCarrier* carrier) const; //!< Get whether the given PickupCarrier is a target of this pickup.
Note: See TracChangeset for help on using the changeset viewer.