liblcf
Loading...
Searching...
No Matches
rpg_animation.cpp
Go to the documentation of this file.
1/* !!!! GENERATED FILE - DO NOT EDIT !!!!
2 * --------------------------------------
3 *
4 * This file is part of liblcf. Copyright (c) liblcf authors.
5 * https://github.com/EasyRPG/liblcf - https://easyrpg.org
6 *
7 * liblcf is Free/Libre Open Source Software, released under the MIT License.
8 * For the full copyright and license information, please view the COPYING
9 * file that was distributed with this source code.
10 */
11
12// Headers
13#include "lcf/rpg/animation.h"
14
15namespace lcf {
16namespace rpg {
17
18std::ostream& operator<<(std::ostream& os, const Animation& obj) {
19 os << "Animation{";
20 os << "name="<< obj.name;
21 os << ", animation_name="<< obj.animation_name;
22 os << ", large="<< obj.large;
23 os << ", timings=";
24 for (size_t i = 0; i < obj.timings.size(); ++i) {
25 os << (i == 0 ? "[" : ", ") << obj.timings[i];
26 }
27 os << "]";
28 os << ", scope="<< obj.scope;
29 os << ", position="<< obj.position;
30 os << ", frames=";
31 for (size_t i = 0; i < obj.frames.size(); ++i) {
32 os << (i == 0 ? "[" : ", ") << obj.frames[i];
33 }
34 os << "]";
35 os << "}";
36 return os;
37}
38
39} // namespace rpg
40} // namespace lcf
std::ostream & operator<<(std::ostream &os, const Actor &obj)
Definition: rpg_actor.cpp:18
Definition: dbarray.cpp:13