proj home

Files   Classes   Functions   Hierarchy  

mazegameD2state01.h

Go to the documentation of this file.
00001 #ifndef MAZEGAMED2STATE01_H
00002 #define MAZEGAMED2STATE01_H
00003 
00004 #include <vector>
00005 using namespace std;
00006 
00007 #include <mazematrixD2.h>
00008 #include <typedefs.h>
00009 
00010 
00016 class mazegameD2state01
00017 {
00018 public:
00019 
00021   uint& m;
00023   uint& n;
00024 
00026   mazegameD2state01();
00027 
00029   vector<uint> path;
00030 
00032   uint gamestart;
00034   uint gamefinish;
00035 
00036 
00038   bool randomize;
00039 
00041   bool proper;
00042 
00044   double deletewall;
00045 
00047   void game01();
00048 
00050   void game01default();
00051 
00053   mazematrixD2<uint> mz;
00054 
00056   boolc valid() const;
00057 
00059   stringc settings() const;
00060   
00062   uintc currentpos() const;
00063 
00065   boolc currentmove(uintc dir);
00066 
00067 // mazedisp03 sees model mazegameD2state01
00068 
00070   operator stringc () const;
00071 
00072   void serializeInverse(stringc & str);
00073 
00074 };
00075 
00076 #endif
00077 

Generated on Fri Mar 4 00:49:29 2011 for Chelton Evans Source by  doxygen 1.5.8