#include <TiledBackdrop.hpp>
|
| sf::RenderTexture * | genStars (float minX, float maxX, float minY, float maxY, float minR, float maxR, unsigned int amount=420u) const |
| | Generates a field of stars and returns a RenderTexture pointer (Be sure to delete it when done!). More...
|
| |
| sf::Texture | expand (sf::RenderTexture const &oldTex) const |
| | Returns a render texture that is 3 times the size of the one passed. More...
|
| |
| TiledBackdrop::TiledBackdrop |
( |
sf::Vector2f |
size | ) |
|
| TiledBackdrop::~TiledBackdrop |
( |
| ) |
|
| void TiledBackdrop::draw |
( |
sf::RenderTarget & |
target | ) |
const |
Draws the texture to the target.
| sf::Texture TiledBackdrop::expand |
( |
sf::RenderTexture const & |
oldTex | ) |
const |
|
private |
Returns a render texture that is 3 times the size of the one passed.
| sf::RenderTexture * TiledBackdrop::genStars |
( |
float |
minX, |
|
|
float |
maxX, |
|
|
float |
minY, |
|
|
float |
maxY, |
|
|
float |
minR, |
|
|
float |
maxR, |
|
|
unsigned int |
amount = 420u |
|
) |
| const |
|
private |
Generates a field of stars and returns a RenderTexture pointer (Be sure to delete it when done!).
| sf::Sprite TiledBackdrop::sprite_ |
|
private |
| sf::Texture TiledBackdrop::texture_ |
|
private |
The documentation for this class was generated from the following files: