Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 4, 2016, 5:22:59 PM (8 years ago)
Author:
landauf
Message:

hover: maze size is now fully configurable in xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationHS15/src/modules/hover/MazeGenerator.h

    r11036 r11040  
    5151    {
    5252        public:
    53             MazeGenerator();
     53            MazeGenerator(int numCells);
    5454
    5555            void generateMaze();
     
    6060            int* getLevelcode() const
    6161                { return this->levelcode_; }
    62             int getNumCells() const
    63                 { return NUM_CELLS; }
    6462
    6563        private:
     
    7169            int randomInt4();
    7270
    73             static const int NUM_CELLS = 10;
     71            int numCells_;
    7472            int* levelcode_;
    7573            unsigned char* maze_;
Note: See TracChangeset for help on using the changeset viewer.