Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 13, 2010, 3:32:34 PM (15 years ago)
Author:
dafrick
Message:

Started documenting MetaPcikup, resolved some bugs in PickupCollection and PickupCollectionIdentifier.

Location:
code/branches/pickup3/src/modules/pickup/items
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickup3/src/modules/pickup/items/MetaPickup.cc

    r6518 r6519  
    2727*/
    2828
     29/**
     30    @file
     31    @brief Implementation of the MetaPickup class.
     32*/
     33
    2934#include "core/CoreIncludes.h"
    3035#include "core/XMLPort.h"
     
    4247    /*static*/ const std::string MetaPickup::metaTypeDrop_s = "drop";
    4348   
     49    /**
     50    @brief
     51        Constructor.
     52    */
    4453    MetaPickup::MetaPickup(BaseObject* creator) : Pickup(creator)
    4554    {
  • code/branches/pickup3/src/modules/pickup/items/MetaPickup.h

    r6518 r6519  
    2727*/
    2828
     29/**
     30    @file
     31    @brief Definition of the MetaPickup class.
     32*/
     33
    2934#ifndef _MetaPickup_H__
    3035#define _MetaPickup_H__
     
    3641namespace orxonox {
    3742
     43    //! The meta type, deciding what the pickup does exactly.
    3844    namespace pickupMetaType
    3945    {
     
    4652    }
    4753   
     54    /**
     55    @brief
     56        The MetaPickup is a pickup that can, depending on the parameters, either drop all pickups of the PickupCarrier that picks it up, or use all the unused pickups of the PickupCarrier, that picks it up. The parameter to set for this is the metaType and it can be used with the values 'none', 'drop' and 'use'.
     57    @author
     58        Damian 'Mozork' Frick
     59    */
    4860    class _PickupExport MetaPickup : public Pickup
    4961    {
    50         friend class PickupCarrier;
    5162       
    5263        public:
Note: See TracChangeset for help on using the changeset viewer.