AllegroFlare/FrameAnimation/AsepriteSpriteSheetJSONLoader
view source (cpp, hpp, quintessence) • view tests (test file)
Properties
filename |
std::string |
sprite_sheet |
AllegroFlare::FrameAnimation::SpriteSheet* |
load_tag_names_ending_in_at_char_with_looping_playmode |
bool |
discard_last_at_char_in_tag_names |
bool |
Methods
load() |
_build_animation_frames_for(uint32_t start_frame=0, uint32_t end_frame=0, std::map<int, int> frame_data={}) |
ends_in_at_char(std::string str="[unset-str]") |
strip_appended_at_char(std::string str="[unset-str]") |
_get_playmode_from_direction(std::string direction="[unset-direction]", bool playmode_is_looped=true) |
Dependencies
{"symbol"=>"AllegroFlare::UsefulPHP", "headers"=>["AllegroFlare/UsefulPHP.hpp"]} |
{"symbol"=>"nlohmann::json", "headers"=>["lib/nlohmann/json.hpp"]} |
{"symbol"=>"AllegroFlare::Errors", "headers"=>["AllegroFlare/Errors.hpp"]} |
{"symbol"=>"AllegroFlare::FrameAnimation::Animation", "headers"=>["AllegroFlare/FrameAnimation/Animation.hpp"]} |
{"symbol"=>"AllegroFlare::FrameAnimation::Frame", "headers"=>["AllegroFlare/FrameAnimation/Frame.hpp"]} |
{"symbol"=>"AllegroFlare::FrameAnimation::SpriteSheet", "headers"=>["AllegroFlare/FrameAnimation/SpriteSheet.hpp"]} |
{"symbol"=>"AllegroFlare::FrameAnimation::Errors", "headers"=>["AllegroFlare/FrameAnimation/Errors.hpp"]} |
Sponsor
Get the best designed cat shirts at clubatt.com