Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

CBackground Class Reference

Background sprites class. More...

#include <SpriteManager.h>

Inheritance diagram for CBackground:

Inheritance graph
[legend]
Collaboration diagram for CBackground:

Collaboration graph
[legend]
List of all members.

Protected Attributes

CAnimationm_pAnimation
 Pointer to the animation to which this sprite belongs.

UCHAR m_cAlphaValue
 Sets the intensity of the entire sprite.

CString m_sSubLayer
 Name of the sublayer of the sprite.


Detailed Description

Background sprites class.

Author:
Kronuz
Version:
1.0
Date:
April 15, 2003
The CBackground class provides the functionality for all visible objects on the game, this includes a base to manage Entities

See also:
CEntity and CMaskMap
Todo:
Write the implementation of this class.

Definition at line 225 of file SpriteManager.h.


Member Data Documentation

UCHAR CBackground::m_cAlphaValue [protected]
 

Sets the intensity of the entire sprite.

Although sprites can have an alpha value attatched to each pixel, within the image file (sprite sheet), there is also the possibility to change the overall alpha value of a specific sprite.

Definition at line 235 of file SpriteManager.h.

CAnimation* CBackground::m_pAnimation [protected]
 

Pointer to the animation to which this sprite belongs.

This is NULL if there is no animation for the sprite, otherwise it points to its animation object.

Definition at line 230 of file SpriteManager.h.

CString CBackground::m_sSubLayer [protected]
 

Name of the sublayer of the sprite.

This is it, finally, this member defines the default "sublayer" to which the sprite belongs to.
There are two types of layers: Layers and Sublayers. Sublayers are defined for each sprite when it is created, whilst Layers are chosen in the map editor at the time the sprite is positioned. Sublayers are made to facilitate the use of layers, giving the default Z order of the objects within the current layer. (more on this latter)

Definition at line 241 of file SpriteManager.h.


The documentation for this class was generated from the following file:
Generated on Wed Apr 16 19:12:26 2003 for QuestDesigner by doxygen1.2.18