Background Class Reference

#include <Background.h>

Inheritance diagram for Background:

Sprite List of all members.

Public Member Functions

 Background (std::string filename, double depth)
 Background (std::string filename, int width, int height, double depth)
void draw ()

Protected Attributes

double _depth

Detailed Description

Definition at line 4 of file Background.h.


Constructor & Destructor Documentation

Background::Background std::string  filename,
double  depth
 

Definition at line 6 of file Background.cpp.

Background::Background std::string  filename,
int  width,
int  height,
double  depth
 

Definition at line 12 of file Background.cpp.


Member Function Documentation

void Background::draw  ) 
 

Definition at line 18 of file Background.cpp.

References Sprite::_coords, _depth, Sprite::_hTexture, Level::getHeight(), Screen::getScreenRect(), Level::getWidth(), Sprite::height(), glfuncs::instance(), Level::instance(), Screen::instance(), and Sprite::width().

Referenced by Level::draw().


Member Data Documentation

double Background::_depth [protected]
 

Definition at line 13 of file Background.h.

Referenced by draw().


The documentation for this class was generated from the following files:
Generated on Sat Apr 22 15:05:21 2006 for ProjectX by  doxygen 1.4.6-NO