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

Public Member Functions | |
| Positionable (sf::Vector2f position=sf::Vector2f(0.f, 0.f)) | |
| (Default) Constructor  | |
| void | SetPosition (sf::Vector2f position) | 
| Sets the object's position.  | |
| void | SetPosition (float x, float y) | 
| Sets the object's position.  | |
| void | Move (sf::Vector2f offset) | 
| Moves the object by a given offset.  | |
| void | Move (float offsetX, float offsetY) | 
| Moves the object by a given offset.  | |
| sf::Vector2f | GetPosition () const | 
| Returns the object's position.  | |
Functionality class for a 2D position.
Stores a position vector and provides methods to access it.