sftools  2.0 dev
Bunch of tools for SFML application development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Typedefs
sftools::singleton Namespace Reference

Contains singleton object typedefs. More...

Typedefs

typedef sftools::Singleton
< Locations
ResourceLocations
 Singleton Locations object used my sftools resource managers.
 
typedef sftools::Singleton
< TextureManager
TextureManager
 A singleton manager for sf::Texture.
 
typedef sftools::Singleton
< ImageManager
ImageManager
 A singleton manager for sf::Image.
 
typedef sftools::Singleton
< FontManager
FontManager
 A singleton manager for sf::Font.
 
typedef sftools::Singleton
< SoundBufferManager
SoundBufferManager
 A singleton manager for sf::SoundBuffer.
 
typedef sftools::Singleton
< MusicManager
MusicManager
 A singleton manager for sf::Music.
 

Detailed Description

Contains singleton object typedefs.

Typedef Documentation

A singleton manager for sf::Font.

Definition at line 164 of file SFMLManagers.hpp.

A singleton manager for sf::Image.

Definition at line 158 of file SFMLManagers.hpp.

A singleton manager for sf::Music.

Definition at line 178 of file SFMLManagers.hpp.

Singleton Locations object used my sftools resource managers.

Locations stored in this singleton object are used to find and load resources.

Use the following code snippet to add a resource location :

locations.add(resourcePath());

where resourcePath() returns the system path to the location folder.

See Also
Locations

Definition at line 164 of file Locations.hpp.

A singleton manager for sf::SoundBuffer.

Definition at line 172 of file SFMLManagers.hpp.

A singleton manager for sf::Texture.

Definition at line 152 of file SFMLManagers.hpp.