13 #include "lcf/rpg/animation.h"
18 std::ostream&
operator<<(std::ostream& os,
const Animation& obj) {
20 os <<
"name="<< obj.name;
21 os <<
", animation_name="<< obj.animation_name;
22 os <<
", large="<< obj.large;
24 for (
size_t i = 0; i < obj.timings.size(); ++i) {
25 os << (i == 0 ?
"[" :
", ") << obj.timings[i];
28 os <<
", scope="<< obj.scope;
29 os <<
", position="<< obj.position;
31 for (
size_t i = 0; i < obj.frames.size(); ++i) {
32 os << (i == 0 ?
"[" :
", ") << obj.frames[i];
std::ostream & operator<<(std::ostream &os, const Actor &obj)