Changeset 6540 for code/trunk/src/modules/pickup/PickupRepresentation.cc
- Timestamp:
- Mar 16, 2010, 9:35:11 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/pickup/PickupRepresentation.cc
r6524 r6540 27 27 */ 28 28 29 /** 30 @file PickupRepresentation.cc 31 @brief Implementation of the PickupRepresentation class. 32 */ 33 29 34 #include "PickupRepresentation.h" 30 35 … … 44 49 This is primarily for use of the PickupManager in creating a default PickupRepresentation. 45 50 */ 46 //TODO: Not this as creator!!! 47 PickupRepresentation::PickupRepresentation() : BaseObject(this) 51 PickupRepresentation::PickupRepresentation() : BaseObject(NULL), spawnerRepresentation_(NULL) 48 52 { 49 this->spawnerRepresentation_ = NULL;50 51 53 RegisterObject(PickupRepresentation); 52 54 … … 58 60 Default Constructor. Registers the object and initializes its member variables. 59 61 */ 60 PickupRepresentation::PickupRepresentation(BaseObject* creator) : BaseObject(creator) 62 PickupRepresentation::PickupRepresentation(BaseObject* creator) : BaseObject(creator), spawnerRepresentation_(NULL) 61 63 { 62 this->spawnerRepresentation_ = NULL;63 64 64 RegisterObject(PickupRepresentation); 65 65 … … 151 151 Returns a pointer to the StaticEntity. 152 152 */ 153 //TODO: Think of more elegant solution.153 //TODO: Possibility to define default representation through XML. 154 154 StaticEntity* PickupRepresentation::getDefaultSpawnerRepresentation(PickupSpawner* spawner) 155 155 {
Note: See TracChangeset
for help on using the changeset viewer.