Changeset 6655 in orxonox.OLD for trunk/src/world_entities/items
- Timestamp:
- Jan 23, 2006, 2:02:22 PM (19 years ago)
- Location:
- trunk/src/world_entities/items
- Files:
-
- 1 added
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/items/item_container.cc
r6653 r6655 10 10 11 11 ### File Specific: 12 main-programmer: ...12 main-programmer: Benjamin Grauer 13 13 co-programmer: ... 14 14 */ … … 16 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ 17 17 18 #include " proto_class.h"18 #include "item_container.h" 19 19 20 20 using namespace std; … … 25 25 * @todo this constructor is not jet implemented - do it 26 26 */ 27 ProtoClass::ProtoClass()27 ItemContainer::ItemContainer () 28 28 { 29 this->setClassID(CL_ PROTO_ID, "ProtoClass");29 this->setClassID(CL_ITEM_CONTAINER, "ItemContainer"); 30 30 31 31 /* If you make a new class, what is most probably the case when you write this file … … 45 45 * standard deconstructor 46 46 */ 47 ProtoClass::~ProtoClass()47 ItemContainer::~ItemContainer () 48 48 { 49 49 // delete what has to be deleted here -
trunk/src/world_entities/items/item_container.h
r6653 r6655 1 1 /*! 2 * @file proto_class.h3 * @brief Definition of ...4 */2 * @file item_container.h 3 * @brief Definition of a Container for Items one can pick up 4 */ 5 5 6 #ifndef _ PROTO_CLASS_H7 #define _ PROTO_CLASS_H6 #ifndef _ITEM_CONTAINER_H 7 #define _ITEM_CONTAINER_H 8 8 9 9 #include "base_object.h" … … 13 13 14 14 15 //! A class for ...16 class ProtoClass: public BaseObject {15 //! A class for storing collected Items. 16 class ItemContainer : public BaseObject { 17 17 18 18 public: 19 ProtoClass();20 virtual ~ ProtoClass();19 ItemContainer(); 20 virtual ~ItemContainer(); 21 21 22 22 … … 25 25 }; 26 26 27 #endif /* _ PROTO_CLASS_H */27 #endif /* _ITEM_CONTAINER_H */
Note: See TracChangeset
for help on using the changeset viewer.