Hosting courtesy of Sourceforge

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

Game::MovementEffect Class Reference

#include <Tile.h>

List of all members.

Public Methods

Sint16 getXchange () const
Sint16 getYchange () const
bool isRelative () const


Detailed Description

Class that describes the effects tiles can have on movements

Definition at line 36 of file Tile.h.


Constructor & Destructor Documentation

MovementEffect::MovementEffect Sint16    x_,
Sint16    y_,
bool    relMotion = true
 

Definition at line 25 of file Tile.cpp.


Member Function Documentation

Sint16 MovementEffect::getXchange   const
 

Returns:
the change in x direction in pixels, right is postive, left is negative

Definition at line 31 of file Tile.cpp.

Sint16 MovementEffect::getYchange   const
 

Returns:
the change in y direction in pixels, down is position, up is negative

Definition at line 35 of file Tile.cpp.

bool MovementEffect::isRelative   const
 

Returns:
true if the motion is relative to the current position, false otherwise. Note that false does not imply no movement... only that the movement, the move could be a warp.

Definition at line 39 of file Tile.cpp.


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