Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 6, 2009, 3:53:50 PM (15 years ago)
Author:
danielh
Message:
  • some changes to the base framework
  • added DroppedItem
  • implemented usable items and a test UsableItem (Jump), console command to use an item is "useItem"
  • added ModifierType::Acceleration
Location:
code/branches/pickups
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickups

    • Property svn:ignore set to
      build
      dependencies
  • code/branches/pickups/src/orxonox/objects/pickup/PickupCollection.h

    r2864 r2900  
    4848{
    4949    class BaseItem;
     50    class UsableItem;
    5051    class Pawn;
    5152
     
    6768
    6869        void remove(BaseItem* item, bool removeAllOfType = false);                  //!< Remove an item from the collection.
     70
     71        void useItem();                                                             //!< Use the first usable item.
     72        void useItem(UsableItem* item);                                             //!< Use a usable item.
    6973
    7074        void addAdditiveModifier(ModifierType::Enum type, float value);             //!< Add an additive modifier.
Note: See TracChangeset for help on using the changeset viewer.