#include <teleport.hpp>
Public Member Functions | |
| manager (const config &cfg) | |
| void | add (const teleport_group &group) |
| void | remove (const std::string &id) |
| const std::vector< teleport_group > & | get () const |
| config | to_config () const |
| Inherited from savegame_config. More... | |
| std::string | next_unique_id () |
Private Attributes | |
| std::vector< teleport_group > | tunnels_ |
| int | id_ |
Definition at line 159 of file teleport.hpp.
| pathfind::manager::manager | ( | const config & | cfg | ) |
Definition at line 271 of file teleport.cpp.
References add(), cfg, config::child_count(), ERR_WML, i, lg::log_to_chat(), config::mandatory_child(), and t.
| void pathfind::manager::add | ( | const teleport_group & | group | ) |
Definition at line 285 of file teleport.cpp.
References tunnels_.
Referenced by manager(), and game_events::WML_HANDLER_FUNCTION().
| const std::vector< teleport_group > & pathfind::manager::get | ( | ) | const |
Definition at line 300 of file teleport.cpp.
References tunnels_.
Referenced by pathfind::get_teleport_locations().
| std::string pathfind::manager::next_unique_id | ( | ) |
Definition at line 316 of file teleport.cpp.
References id_.
Referenced by pathfind::teleport_group::teleport_group().
| void pathfind::manager::remove | ( | const std::string & | id | ) |
Definition at line 289 of file teleport.cpp.
Referenced by game_events::WML_HANDLER_FUNCTION().
| config pathfind::manager::to_config | ( | ) | const |
Inherited from savegame_config.
Definition at line 304 of file teleport.cpp.
References config::add_child(), id_, and tunnels_.
|
private |
Definition at line 188 of file teleport.hpp.
Referenced by next_unique_id(), and to_config().
|
private |
Definition at line 187 of file teleport.hpp.
Referenced by add(), get(), remove(), and to_config().