CMosaic Class Reference

#include <CMosaic.h>

Collaboration diagram for CMosaic:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CMosaic (void)
 ~CMosaic (void)
void SetDisplay (CDisplay *pDisplay)
void Create (int SpriteTable, int Sprite, int SpriteLayer, int PriorityInLayer, int SpriteWidth, int SpriteHeight, int TileCountX, int TileCountY, float SpeedX, float SpeedY)
void Destroy (void)
void Update (float DeltaTime)
 Update the mosaic state.
void Display (void)
 Display the mosaic in its current state.

Private Attributes

CDisplaym_pDisplay
 Link to the display object to use to draw the mosaic.
int m_SpriteTable
 Sprite table of the mosaic tile sprite to use.
int m_Sprite
 Number of the mosaic tile sprite to use.
int m_SpriteLayer
 Sprite layer where to draw the mosaic.
int m_PriorityInLayer
 Priority to use in the sprite layer where to draw the mosaic.
int m_SpriteWidth
 Width in pixels of the mosaic tile sprite.
int m_SpriteHeight
 Height in pixels of the mosaic tile sprite.
int m_TileCountX
 How many mosaic tiles to draw horizontally?
int m_TileCountY
 How many mosaic tiles to draw vertically?
float m_SpeedX
 Scrolling speed X of the mosaic.
float m_SpeedY
 Scrolling speed Y of the mosaic.
float m_BackgroundPositionX
 Top left corner of the animated tiled background.
float m_BackgroundPositionY
 This position is modified to animate the background on the game view.
int m_iBackgroundPositionX
 Integer coordinates of the position above,.
int m_iBackgroundPositionY
 these coordinates _are_ in the screen coordinates.


Constructor & Destructor Documentation

CMosaic::CMosaic ( void   ) 

CMosaic::~CMosaic ( void   ) 

Here is the call graph for this function:


Member Function Documentation

void CMosaic::SetDisplay ( CDisplay pDisplay  )  [inline]

Here is the caller graph for this function:

void CMosaic::Create ( int  SpriteTable,
int  Sprite,
int  SpriteLayer,
int  PriorityInLayer,
int  SpriteWidth,
int  SpriteHeight,
int  TileCountX,
int  TileCountY,
float  SpeedX,
float  SpeedY 
)

Here is the caller graph for this function:

void CMosaic::Destroy ( void   ) 

Here is the caller graph for this function:

void CMosaic::Update ( float  DeltaTime  ) 

Update the mosaic state.

Here is the caller graph for this function:

void CMosaic::Display ( void   ) 

Display the mosaic in its current state.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Link to the display object to use to draw the mosaic.

int CMosaic::m_SpriteTable [private]

Sprite table of the mosaic tile sprite to use.

int CMosaic::m_Sprite [private]

Number of the mosaic tile sprite to use.

int CMosaic::m_SpriteLayer [private]

Sprite layer where to draw the mosaic.

Priority to use in the sprite layer where to draw the mosaic.

int CMosaic::m_SpriteWidth [private]

Width in pixels of the mosaic tile sprite.

int CMosaic::m_SpriteHeight [private]

Height in pixels of the mosaic tile sprite.

int CMosaic::m_TileCountX [private]

How many mosaic tiles to draw horizontally?

int CMosaic::m_TileCountY [private]

How many mosaic tiles to draw vertically?

float CMosaic::m_SpeedX [private]

Scrolling speed X of the mosaic.

float CMosaic::m_SpeedY [private]

Scrolling speed Y of the mosaic.

Top left corner of the animated tiled background.

This position is modified to animate the background on the game view.

Integer coordinates of the position above,.

these coordinates _are_ in the screen coordinates.


The documentation for this class was generated from the following files:

Generated on Sat Oct 18 12:26:47 2008 for Bombermaaan by  doxygen 1.5.5
Visit the Bombermaaan project page
SourceForge.net Logo