liblcf
Loading...
Searching...
No Matches
rpg_treemap.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) 2021 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/treemap.h"
14
15namespace lcf {
16namespace rpg {
17
18std::ostream& operator<<(std::ostream& os, const TreeMap& obj) {
19 os << "TreeMap{";
20 os << "maps=";
21 for (size_t i = 0; i < obj.maps.size(); ++i) {
22 os << (i == 0 ? "[" : ", ") << obj.maps[i];
23 }
24 os << "]";
25 os << ", tree_order=";
26 for (size_t i = 0; i < obj.tree_order.size(); ++i) {
27 os << (i == 0 ? "[" : ", ") << obj.tree_order[i];
28 }
29 os << "]";
30 os << ", active_node="<< obj.active_node;
31 os << ", start="<< obj.start;
32 os << "}";
33 return os;
34}
35
36} // namespace rpg
37} // namespace lcf
std::ostream & operator<<(std::ostream &os, const Actor &obj)
Definition: rpg_actor.cpp:18
Definition: dbarray.cpp:13