E D R , A S I H C RSS

Full text search for "CreateMaze"

Create Maze


Search BackLinks only
Display context of search results
Case-sensitive searching
  • Gof/FactoryMethod . . . . 4 matches
         The function CreateMaze (page 84) builds and returns a maze. One problem with this function is that it hard-codes the classes of maze, rooms, doors, and walls. We'll introduce factory methods to let subclasses choose these components.
          Maze* CreateMaze();
         Now we can rewrite CreateMaze to use these factory methods:
          Maze* MazeGame::CreateMaze () {
Found 1 matching page out of 7540 total pages (5000 pages are searched)

You can also click here to search title.

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
Processing time 0.3195 sec