17 #ifndef HEADER_SUPERTUX_SPRITE_SPRITE_DATA_HPP 18 #define HEADER_SUPERTUX_SPRITE_SPRITE_DATA_HPP 24 #include "video/surface_ptr.hpp" 34 const std::string& get_name()
const 66 bool has_custom_loops;
68 std::vector<SurfacePtr> surfaces;
71 typedef std::map <std::string, std::unique_ptr<Action> > Actions;
75 const Action* get_action(
const std::string& act)
const;
Definition: sprite_data.hpp:28
Definition: sprite.hpp:25
SpriteData(const ReaderMapping &cur)
cur has to be a pointer to data in the form of ((hitbox 5 10 0 0) ...)
Definition: sprite_data.cpp:44
Definition: reader_mapping.hpp:31