35 #ifndef _PickupCollection_H__ 36 #define _PickupCollection_H__ 77 virtual void changedUsed(
void)
override;
78 virtual void changedCarrier(
void)
override;
79 virtual void changedPickedUp(
void)
override;
81 virtual bool isTarget(
const PickupCarrier* carrier)
const override;
84 { this->representationName_ = name; }
86 {
return this->representationName_; }
89 const Pickupable* getPickupable(
unsigned int index)
const;
92 inline const std::list<CollectiblePickup*>&
getPickups()
const 93 {
return this->pickups_; }
95 void pickupChangedUsed(
bool changed);
96 void pickupChangedPickedUp(
bool changed);
97 void pickupDisabled(
void);
100 virtual bool createSpawner(
void)
override;
103 void changedUsedAction(
void);
104 void changedPickedUpAction(
void);
105 void pickupsChanged(
void);
The BaseObject is the parent of all classes representing an instance in the game. ...
Definition: BaseObject.h:63
const std::list< CollectiblePickup * > & getPickups() const
Definition: PickupCollection.h:92
#define _PickupExport
Definition: PickupPrereqs.h:60
bool processingUsed_
Boolean to ensure, that the PickupCollection doesn't update its used status while its internal state ...
Definition: PickupCollection.h:110
An Interface (or more precisely an abstract class) to model and represent different (all kinds of) pi...
Definition: Pickupable.h:60
::std::string string
Definition: gtest-port.h:756
Definition of the CollectiblePickup class.
std::list< CollectiblePickup * > pickups_
The list of the pointers of all the Pickupables this PickupCollection consists of. They are weak pointers to facilitate testing, whether the pointers are still valid.
Definition: PickupCollection.h:108
xmlelement
Definition: Super.h:519
void setRepresentationName(const std::string &name)
Definition: PickupCollection.h:83
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Mode
Definition: CorePrereqs.h:102
std::string representationName_
The name of the associated PickupRepresentation.
Definition: PickupCollection.h:107
bool processingPickedUp_
Boolean to ensure, that the PickupCollection doesn't update its picked upp status while its internal ...
Definition: PickupCollection.h:111
virtual const std::string & getRepresentationName() const override
Returns the representation name which refers to the name of the PickupRepresentation that is used to ...
Definition: PickupCollection.h:85
Declaration of BaseObject, the base class of all objects in Orxonox.
The PickupCollection combines different Pickupables (more precisely CollectiblePickups) to a coherent...
Definition: PickupCollection.h:68
The CollectiblePickup class encompasses all Pickupables that can be added to a PickupCollection and t...
Definition: CollectiblePickup.h:55
The PickupCarrier interface provides the means, for any class implementing it, to possess Pickupables...
Definition: PickupCarrier.h:68
Shared library macros, enums, constants and forward declarations for the questsystem module ...