NasNas
An intuitive and beginner friendly 2D game framework for C++
|
This is the complete list of members for ns::SpriteSheet, including all inherited members.
addAnim(Anim *new_anim) (defined in ns::SpriteSheet) | ns::SpriteSheet | |
addAnim(const std::string &anim_name, unsigned int first_frame, unsigned int nb_of_frames, int duration, const sf::Vector2i &origin={0, 0}) (defined in ns::SpriteSheet) | ns::SpriteSheet | |
addAnim(const std::string &anim_name, unsigned int first_frame, unsigned int nb_of_frames, int duration, const std::vector< sf::Vector2i > &origins) (defined in ns::SpriteSheet) | ns::SpriteSheet | |
addAnim(const std::string &anim_name, unsigned int first_frame, unsigned int nb_of_frames, const std::vector< int > &durations, const sf::Vector2i &origin={0, 0}) (defined in ns::SpriteSheet) | ns::SpriteSheet | |
addAnim(const std::string &anim_name, unsigned int first_frame, unsigned int nb_of_frames, const std::vector< int > &durations, const std::vector< sf::Vector2i > &origins) (defined in ns::SpriteSheet) | ns::SpriteSheet | |
addAnim(const std::string &anim_name, const std::vector< unsigned int > &frames, int duration, const sf::Vector2i &origin={0, 0}) (defined in ns::SpriteSheet) | ns::SpriteSheet | |
addAnim(const std::string &anim_name, const std::vector< unsigned int > &frames, int duration, const std::vector< sf::Vector2i > &origins) (defined in ns::SpriteSheet) | ns::SpriteSheet | |
addAnim(const std::string &anim_name, const std::vector< unsigned int > &frames, const std::vector< int > &durations, const sf::Vector2i &origin={0, 0}) (defined in ns::SpriteSheet) | ns::SpriteSheet | |
addAnim(const std::string &anim_name, const std::vector< unsigned int > &frames, const std::vector< int > &durations, const std::vector< sf::Vector2i > &origins) (defined in ns::SpriteSheet) | ns::SpriteSheet | |
getAnim(const std::string &anim_name) -> const Anim & | ns::SpriteSheet | |
getAnimsMap() -> const std::unordered_map< std::string, Anim *> & | ns::SpriteSheet | |
getTexture() const -> const sf::Texture * (defined in ns::SpriteSheet) | ns::SpriteSheet | |
setGrid(const sf::Vector2i &cell_size, int columns_nb, int margin=0, int spacing=0) (defined in ns::SpriteSheet) | ns::SpriteSheet | |
setTexture(const sf::Texture &texture) (defined in ns::SpriteSheet) | ns::SpriteSheet | |
SpriteSheet()=default (defined in ns::SpriteSheet) | ns::SpriteSheet | |
SpriteSheet(const sf::Texture &texture) (defined in ns::SpriteSheet) | ns::SpriteSheet | explicit |
SpriteSheet(const sf::Texture &texture, const std::vector< Anim *> &anims) | ns::SpriteSheet | |
~SpriteSheet() | ns::SpriteSheet |