Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Level Class Reference

#include <level.h>

List of all members.

Public Member Functions

 Level (string fname, TileInfo **_tilesinfo, ObjectInfo **_objectsinfo, GameTimer *_game_timer, ScoreManager *_score_manager, Input *_input)
 ~Level ()
void LoadMap (string fname)
void AddObjectPos (Object *, int pos)
void DeleteObjectPos (Object *, int pos)
bool AddObject (Object *)
void DeleteObject (Object *)
bool CheckTileCollisions (Object *, Tile **)
Object * CheckObjectCollisions (Object *)
ObjectCell * RemoveObjectCell (ObjectCell *objcell)
void TilesAction (int xl, int xr, int interval)
void ObjectsAction (int xl, int xr)
void PlayerAction ()
void DrawTiles (int xposition, Display *display)
void DrawObjects (int xposition, Display *display)
int GameStatus ()
void EndLevel ()
Object * GetPlayer ()
int GetWidth ()
int GetHeight ()

Private Attributes

int mission
Object * obj_player
int width
int height
int nobjects
int maxnobjects
Tile *** tiles
Object ** objects
ObjectCell ** objcells_by_tilex
GameTimer * game_timer
Input * input


Constructor & Destructor Documentation

Level::Level (  string    fname,
TileInfo **    _tilesinfo,
ObjectInfo **    _objectsinfo,
GameTimer *    _game_timer,
ScoreManager *    _score_manager,
Input *    _input
) 
 

Level::~Level (    ) 
 


Member Function Documentation

bool Level::AddObject (  Object *    ) 
 

void Level::AddObjectPos (  Object *   ,
int    pos
) 
 

Object * Level::CheckObjectCollisions (  Object *    ) 
 

bool Level::CheckTileCollisions (  Object *   ,
Tile **   
) 
 

void Level::DeleteObject (  Object *    ) 
 

void Level::DeleteObjectPos (  Object *   ,
int    pos
) 
 

void Level::DrawObjects (  int    xposition,
Display *    display
) 
 

void Level::DrawTiles (  int    xposition,
Display *    display
) 
 

void Level::EndLevel (    )  [inline]
 

int Level::GameStatus (    ) 
 

int Level::GetHeight (    ) 
 

Object * Level::GetPlayer (    ) 
 

int Level::GetWidth (    ) 
 

void Level::LoadMap (  string    fname ) 
 

void Level::ObjectsAction (  int    xl,
int    xr
) 
 

void Level::PlayerAction (    ) 
 

ObjectCell* Level::RemoveObjectCell (  ObjectCell *    objcell ) 
 

void Level::TilesAction (  int    xl,
int    xr,
int    interval
) 
 


Member Data Documentation

GameTimer* Level::game_timer [private]
 

int Level::height [private]
 

in tiles

Input* Level::input [private]
 

int Level::maxnobjects [private]
 

int Level::mission [private]
 

int Level::nobjects [private]
 

Object* Level::obj_player [private]
 

ObjectCell** Level::objcells_by_tilex [private]
 

Object** Level::objects [private]
 

Tile*** Level::tiles [private]
 

int Level::width [private]
 

in tiles


The documentation for this class was generated from the following files:
Generated on Sun Mar 2 18:50:28 2003 for eounicorn by doxygen1.3-rc3