Hosting courtesy of Sourceforge

SourceForge Logo
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Game::ExplodableTile Class Reference

#include <Tile.h>

Inheritance diagram for Game::ExplodableTile:

Inheritance graph
[legend]
Collaboration diagram for Game::ExplodableTile:

Collaboration graph
[legend]
List of all members.

Public Methods

Parse::ParsermakeParserToParseMe (std::istream &input)

Detailed Description

Tile that blows up

The tile starts not passable with a given image. After it is hit with explosion, it becomes passable and changes its image. Used for making breakable walls.

Definition at line 135 of file Tile.h.


Constructor & Destructor Documentation

ExplodableTile::ExplodableTile  
 

Definition at line 111 of file Tile.cpp.

ExplodableTile::~ExplodableTile  
 

Definition at line 146 of file Tile.cpp.


Member Function Documentation

void ExplodableTile::drawAt SDL_Surface *    screen,
SDL_Rect *    loc
[virtual]
 

Reimplemented from Graphics::DrawableAt.

Definition at line 124 of file Tile.cpp.

AbstractTile * ExplodableTile::dynCopy   const [virtual]
 

Reimplemented from Game::AbstractTile.

Definition at line 117 of file Tile.cpp.

void ExplodableTile::hitWithExplosion   [virtual]
 

Reimplemented from Game::AbstractTile.

Definition at line 141 of file Tile.cpp.

bool ExplodableTile::isPassable   const [virtual]
 

Reimplemented from Game::AbstractTile.

Definition at line 136 of file Tile.cpp.

Parse::Parser * ExplodableTile::makeParserToParseMe std::istream &    input [virtual]
 

Creates parser with the following attributes
BombedImage - image drawn after the image has been blown up
UnbombedImage - image drawn before the image has been blown up

Reimplemented from Parse::Parseable.

Definition at line 129 of file Tile.cpp.


The documentation for this class was generated from the following files:
Generated on Tue May 21 07:26:52 2002 for BomberLAN by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001