Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6655 in orxonox.OLD for trunk/src/world_entities/items


Ignore:
Timestamp:
Jan 23, 2006, 2:02:22 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: ammoContainer added

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  
    1010
    1111   ### File Specific:
    12    main-programmer: ...
     12   main-programmer: Benjamin Grauer
    1313   co-programmer: ...
    1414*/
     
    1616//#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_
    1717
    18 #include "proto_class.h"
     18#include "item_container.h"
    1919
    2020using namespace std;
     
    2525 * @todo this constructor is not jet implemented - do it
    2626*/
    27 ProtoClass::ProtoClass ()
     27ItemContainer::ItemContainer ()
    2828{
    29    this->setClassID(CL_PROTO_ID, "ProtoClass");
     29   this->setClassID(CL_ITEM_CONTAINER, "ItemContainer");
    3030
    3131   /* If you make a new class, what is most probably the case when you write this file
     
    4545 * standard deconstructor
    4646*/
    47 ProtoClass::~ProtoClass ()
     47ItemContainer::~ItemContainer ()
    4848{
    4949  // delete what has to be deleted here
  • trunk/src/world_entities/items/item_container.h

    r6653 r6655  
    11/*!
    2  * @file proto_class.h
    3  * @brief Definition of ...
    4 */
     2 * @file item_container.h
     3 * @brief Definition of a Container for Items one can pick up
     4 */
    55
    6 #ifndef _PROTO_CLASS_H
    7 #define _PROTO_CLASS_H
     6#ifndef _ITEM_CONTAINER_H
     7#define _ITEM_CONTAINER_H
    88
    99#include "base_object.h"
     
    1313
    1414
    15 //! A class for ...
    16 class ProtoClass : public BaseObject {
     15//! A class for storing collected Items.
     16class ItemContainer : public BaseObject {
    1717
    1818 public:
    19   ProtoClass();
    20   virtual ~ProtoClass();
     19  ItemContainer();
     20  virtual ~ItemContainer();
    2121
    2222
     
    2525};
    2626
    27 #endif /* _PROTO_CLASS_H */
     27#endif /* _ITEM_CONTAINER_H */
Note: See TracChangeset for help on using the changeset viewer.