00001 #include "BombedMazeFactory.h" 00002 #include "BombedWall.h" 00003 00004 //---- BombedMazeFactory --------------------------------------------------------- 00005 00006 BombedMazeFactory::BombedMazeFactory() : MazeFactory() { } 00007 00008 BombedMazeFactory::~BombedMazeFactory() { } 00009 00010 class Wall * BombedMazeFactory::MakeWall() const { 00011 return new BombedWall(); 00012 } 00013 00014 void BombedMazeFactory::Print(int indent) { 00015 PrintIndent(indent); 00016 printf("BombedMazeFactory\n"); 00017 00018 MazeFactory::Print(indent+2); 00019 }