Hosting courtesy of Sourceforge

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

Game::SlipperyTile Class Reference

#include <Tile.h>

Inheritance diagram for Game::SlipperyTile:

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

Collaboration graph
[legend]
List of all members.

Public Methods

MovementEffect effect (MoveableItem &p)
bool isPassable () const
Parse::ParsermakeParserToParseMe (std::istream &in)

Detailed Description

Tile that causes players to slip (it locks their movement), making them unable to change their direction while atop the tile.

Definition at line 191 of file Tile.h.


Constructor & Destructor Documentation

SlipperyTile::SlipperyTile  
 

Definition at line 189 of file Tile.cpp.

SlipperyTile::~SlipperyTile  
 

Definition at line 194 of file Tile.cpp.


Member Function Documentation

void SlipperyTile::drawAt SDL_Surface *    surf,
SDL_Rect *    loc
[virtual]
 

Reimplemented from Graphics::DrawableAt.

Definition at line 206 of file Tile.cpp.

AbstractTile * SlipperyTile::dynCopy   const [virtual]
 

Reimplemented from Game::AbstractTile.

Definition at line 220 of file Tile.cpp.

MovementEffect SlipperyTile::effect MoveableItem   m
 

Lock movement of player, making them unable to change direction until they get onto a tile that unlocks their movement

Definition at line 211 of file Tile.cpp.

bool SlipperyTile::isPassable   const [virtual]
 

The tile is passable, like most others, when it is not occupied

Reimplemented from Game::AbstractTile.

Definition at line 216 of file Tile.cpp.

Parse::Parser * SlipperyTile::makeParserToParseMe std::istream &    in [virtual]
 

Makes parser that contains the following identifier/action pairs
back - optional background image
front - optional front image
It is ok to leave either back or front out, but leaving both out causes interminate behavior

Reimplemented from Parse::Parseable.

Definition at line 199 of file Tile.cpp.


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