Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

Field.h

Go to the documentation of this file.
00001 #ifndef HEADER_FIELD_H
00002 #define HEADER_FIELD_H
00003 
00004 class V2;
00005 class Cube;
00006 
00007 #include "NoCopy.h"
00008 
00009 /**
00010  * Two dimensional game field.
00011  */
00012 class Field : public NoCopy {
00013     private:
00014         int m_w;
00015         int m_h;
00016         Cube ***m_marks;
00017         Cube *m_border;
00018     public:
00019         Field(int w, int h);
00020         ~Field();
00021 
00022         int getW() const { return m_w; }
00023         int getH() const { return m_h; }
00024 
00025         Cube *getModel(const V2 &loc);
00026         void setModel(const V2 &loc, Cube *model);
00027 };
00028 
00029 #endif

Generated on Wed Jun 1 09:54:31 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2