00001 #include "BombedWall.h" 00002 #include "global.h" 00003 00004 //---- BombedWall --------------------------------------------------------- 00005 00006 BombedWall::BombedWall(bool hasBomb) : Wall() 00007 { 00008 this->_bomb = hasBomb; 00009 } 00010 00011 BombedWall::~BombedWall() { } 00012 00013 void BombedWall::Print(int indent) { 00014 PrintIndent(indent); 00015 printf("BombedWall:\n"); 00016 00017 PrintIndent(indent+2); 00018 if(this->_bomb) printf("_bomb = true\n"); 00019 else printf("_bomb = false\n"); 00020 00021 Wall::Print(indent+2); 00022 }