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

Table.h

Go to the documentation of this file.
00001 #ifndef _TABLE_H_
00002 #define _TABLE_H_
00003 
00004 #include "Inventory.h"
00005 #include "Shelf.h"
00006 
00012 class Table : public Shelf
00013 {
00014  public:
00015   Table();
00016   virtual ~Table();
00017 
00018   void setInventory(Inventory *i) { _inventory = i; }
00019   Inventory *getInventory() { return _inventory; }
00020   void removeInventory() { _inventory = 0; }
00021 
00022   virtual void draw();
00023   bool canHoldInventory() { return _canHoldInventory; }
00024   void setCanHoldInventory(bool t) { _canHoldInventory = t; }
00025 
00026  protected:
00027   Inventory *_inventory;
00028   bool _canHoldInventory;
00029 };
00030 
00031 #endif

Generated on Wed Apr 21 11:10:53 2004 for naturecalls by doxygen1.2.18