45 std::vector<std::pair<std::shared_ptr<texture>, uint16_t>>
const&
47 std::vector<std::weak_ptr<animatable>>
const& targets = {});
55 [[nodiscard]] std::vector<
56 std::pair<std::shared_ptr<texture>, uint16_t>>
const&
65 [[nodiscard]] std::vector<std::pair<std::shared_ptr<texture>, uint16_t>>&
74 [[nodiscard]] std::vector<std::weak_ptr<animatable>>
const& targets()
const;
82 [[nodiscard]] std::vector<std::weak_ptr<animatable>>& targets();
91 [[nodiscard]]
size_t current_frame()
const;
100 void set_current_frame(
size_t current_frame);
121 std::vector<std::pair<std::shared_ptr<texture>, uint16_t>> _frames;
122 std::vector<std::weak_ptr<animatable>> _targets;
123 size_t _current_frame;
124 uint16_t _remaining_time;