29 #ifndef THOR_DISTRIBUTIONS_HPP
30 #define THOR_DISTRIBUTIONS_HPP
35 #include <SFML/System/Vector2.hpp>
36 #include <SFML/System/Time.hpp>
47 namespace Distributions
84 #endif // THOR_DISTRIBUTIONS_HPP
Distribution< sf::Vector2f > rect(sf::Vector2f center, sf::Vector2f halfSize)
Uniform random distribution in a rectangle
Distribution< int > uniform(int min, int max)
Uniform random distribution in an int interval
Class holding a rule to create values with predefined properties.
Definition: Distribution.hpp:42
Definition: Animator.hpp:42
Distribution< sf::Vector2f > deflect(sf::Vector2f direction, float maxRotation)
Vector rotation with a random angle.
Configuration header of the library.
Distribution< sf::Vector2f > circle(sf::Vector2f center, float radius)
Uniform random distribution in a circle
Class template thor::Distribution.