Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Table Class Reference

#include <Table.h>

Inheritance diagram for Table:

[legend]
Collaboration diagram for Table:
[legend]
List of all members.

Public Methods

 Table ()
virtual ~Table ()
void setInventory (Inventory *i)
Inventory * getInventory ()
void removeInventory ()
virtual void draw ()
bool canHoldInventory ()
void setCanHoldInventory (bool t)

Protected Attributes

Inventory * _inventory
bool _canHoldInventory

Detailed Description

Table object that can hold items on it, inherits from Shelf class 3-8-2004 Adam Aldrich


Constructor & Destructor Documentation

Table::Table (    ) 
 

Table::~Table (    )  [virtual]
 


Member Function Documentation

bool Table::canHoldInventory (    )  [inline]
 

Reimplemented from Shelf.

void Table::draw (    )  [virtual]
 

Reimplemented from Shelf.

Inventory* Table::getInventory (    )  [inline]
 

Reimplemented from Shelf.

void Table::removeInventory (    )  [inline]
 

Reimplemented from Shelf.

void Table::setCanHoldInventory (  bool    t )  [inline]
 

Reimplemented from Shelf.

void Table::setInventory (  Inventory *    i )  [inline]
 

Reimplemented from Shelf.


Member Data Documentation

bool Table::_canHoldInventory [protected]
 

Reimplemented from Shelf.

Inventory* Table::_inventory [protected]
 

Reimplemented from Shelf.


The documentation for this class was generated from the following files:
Generated on Wed Apr 21 11:11:13 2004 for naturecalls by doxygen1.2.18