#include <Background.h>
Inheritance diagram for Background:
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 |
Definition at line 4 of file Background.h.
|
Definition at line 6 of file Background.cpp. |
|
Definition at line 12 of file Background.cpp. |
|
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(). |
|
Definition at line 13 of file Background.h. Referenced by draw(). |