Google
Web alhem.net

Item Class Reference

#include <Item.h>

Inheritance diagram for Item:

Inheritance graph
[legend]
Collaboration diagram for Item:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Item (Map &)
 ~Item ()
mapobject_t GetType ()
long get_property (const std::string &)

Private Attributes

int m_quantity

Detailed Description

Definition at line 7 of file Item.h.


Constructor & Destructor Documentation

Item::Item ( Map  ) 

Definition at line 8 of file Item.cpp.

00009 :MapObject(m)
00010 {
00011 }

Item::~Item (  ) 

Definition at line 14 of file Item.cpp.

00015 {
00016 }


Member Function Documentation

mapobject_t Item::GetType (  )  [virtual]

Implements MapObject.

Definition at line 19 of file Item.cpp.

References MAPOBJECT_ITEM.

00020 {
00021         // %! fixa..
00022         return MAPOBJECT_ITEM;
00023 }

long Item::get_property ( const std::string &   )  [virtual]

Implements MapObject.

Definition at line 26 of file Item.cpp.

00027 {
00028 }


Member Data Documentation

int Item::m_quantity [private]

Definition at line 18 of file Item.h.


The documentation for this class was generated from the following files:
Generated for Robot World by doxygen 1.3.6

Page, code, and content Copyright (C) 2004 by Anders Hedström