Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 5, 2010, 6:26:54 PM (14 years ago)
Author:
dafrick
Message:

Additional documentation, code niceifying and potential bug fixing. Also: Renamed DroppedItem to DroppedPickup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickup3/src/modules/pickup/PickupCollection.h

    r6466 r6475  
    3636#include "core/XMLPort.h"
    3737
    38 #include "PickupCollectionIdentifier.h"
    39 
    4038#include <list>
    4139
     
    6664            virtual void clone(OrxonoxClass* item);
    6765           
    68             virtual const PickupIdentifier* getPickupIdentifier(void)
    69                 { return &this->pickupCollectionIdentifier_; }
     66            virtual const PickupIdentifier* getPickupIdentifier(void);
    7067           
    7168            bool addPickupable(Pickupable* pickup);
     
    7572            void initializeIdentifier(void);
    7673           
    77             PickupCollectionIdentifier pickupCollectionIdentifier_;
     74            virtual bool createSpawner(const Vector3& position); //!< Facilitates the creation of a PickupSpawner upon dropping of the Pickupable.
     75           
     76            PickupCollectionIdentifier* pickupCollectionIdentifier_;
    7877           
    7978        private:
Note: See TracChangeset for help on using the changeset viewer.