Global functions to access SFML and Thor objects uniformly. More...
Go to the source code of this file.
Functions | |
| template<typename T > | |
| void | thor::setColor (T &object, const sf::Color &color) |
| Sets the color of a graphical object. | |
| void | thor::setColor (Particle &particle, const sf::Color &color) |
| Sets the color of a particle. | |
| template<typename T > | |
| void | thor::setAlpha (T &object, sf::Uint8 alpha) |
| Sets the alpha color value of a graphical object. More... | |
| void | thor::setAlpha (Particle &particle, sf::Uint8 alpha) |
| Sets the alpha color value of a particle. | |
Global functions to access SFML and Thor objects uniformly.