Hosting courtesy of Sourceforge

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

Game::ConveyorTile Class Reference

#include <Tile.h>

Inheritance diagram for Game::ConveyorTile:

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

Collaboration graph
[legend]
List of all members.

Public Methods

Parse::ParsermakeParserToParseMe (std::istream &input)
virtual MovementEffect effect (MoveableItem &m)

Detailed Description

Tile that is always passable. This tile's effect moves an object the same amount in a given direction every frame

Definition at line 159 of file Tile.h.


Constructor & Destructor Documentation

ConveyorTile::ConveyorTile  
 

Definition at line 151 of file Tile.cpp.

ConveyorTile::~ConveyorTile  
 

Definition at line 157 of file Tile.cpp.


Member Function Documentation

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

Reimplemented from Graphics::DrawableAt.

Definition at line 169 of file Tile.cpp.

AbstractTile * ConveyorTile::dynCopy   const [virtual]
 

Reimplemented from Game::AbstractTile.

Definition at line 173 of file Tile.cpp.

MovementEffect ConveyorTile::effect MoveableItem   m [virtual]
 

inches m by amount given by the parser

Definition at line 165 of file Tile.cpp.

bool ConveyorTile::isPassable   const [virtual]
 

Reimplemented from Game::AbstractTile.

Definition at line 161 of file Tile.cpp.

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

Makes parser that contains the following identifier/action pairs
image - image drawn to the screen
xspeed - amount the conveyor tile moves whatever is on top of it to the right during a single frame, can move things to the left by making this negative. The value defaults to 0
yspeed - amount the conveyor tile moves whatever is on top of it down during a single frame, can move things upward by making this negative. The value defaults to 0

Reimplemented from Parse::Parseable.

Definition at line 179 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