Bromeon
Public Member Functions
thor::Scalable Class Reference

Functionality class for a 2D scale. More...

List of all members.

Public Member Functions

 Scalable (sf::Vector2f scale=sf::Vector2f(1.f, 1.f))
 (Default) Constructor
void SetScale (sf::Vector2f scale)
 Sets the object's absolute scale.
void SetScale (float scaleX, float scaleY)
 Sets the object's absolute scale.
void Scale (sf::Vector2f factor)
 Multiplies the current scale with given factors.
void Scale (float factorX, float factorY)
 Multiplies the current scale with given factors.
sf::Vector2f GetScale () const
 Returns the object's absolute scale.

Detailed Description

Functionality class for a 2D scale.

Stores a scale vector and provides methods to access it.


The documentation for this class was generated from the following file: