- Timestamp:
- May 20, 2009, 9:01:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickups2/src/orxonox/objects/pickup/PickupCollection.h
r2972 r3001 106 106 { this->owner_ = owner; } 107 107 108 inline UsableItem* getCurrentUsable() 109 { return this->currentUsable_; }; 110 inline void setCurrentUsable(UsableItem* usable) 111 { this->currentUsable_ = usable; } 112 108 113 std::deque<EquipmentItem*> getEquipmentItems(); //!< Get a list of equipment-type items. 109 114 std::deque<PassiveItem*> getPassiveItems(); //!< Get a list of passive items. … … 111 116 private: 112 117 Pawn* owner_; //!< The owner of the PickupCollection. 118 UsableItem* currentUsable_; 113 119 114 120 bool bBlockRemovals_; //!< Whether to block direct removals through remove().
Note: See TracChangeset
for help on using the changeset viewer.