NasNas
An intuitive and beginner friendly 2D game framework for C++
Public Member Functions | Friends | List of all members
ns::Transformable Class Reference
Inheritance diagram for ns::Transformable:
ns::Sprite

Public Member Functions

void setPosition (float x, float y)
 
void setPosition (const sf::Vector2f &position)
 
void setRotation (float angle)
 
void setScale (float factorX, float factorY)
 
void setScale (const sf::Vector2f &factors)
 
void setOrigin (float x, float y)
 
void setOrigin (const sf::Vector2f &origin)
 
void move (float offsetX, float offsetY)
 
void move (const sf::Vector2f &offset)
 
void rotate (float angle)
 
void scale (float factorX, float factorY)
 
void scale (const sf::Vector2f &factor)
 

Friends

class SpriteBatch
 
class Sprite
 
class Scene
 

Detailed Description

Definition at line 8 of file Transformable.hpp.


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