#include <create_engine.hpp>
Public Member Functions | |
| user_map (const config &data, const std::string &name, gamemap *map) | |
| void | set_metadata () |
| std::string | id () const |
| For user maps, the id and name are the same. More... | |
| std::string | name () const |
| std::string | description () const |
Public Member Functions inherited from ng::scenario | |
| scenario (const config &data) | |
| bool | can_launch_game () const |
| int | num_players () const |
| std::string | map_size () const |
| bool | player_count_filter (int player_count) const |
Public Member Functions inherited from ng::level | |
| level (const config &data) | |
| virtual | ~level ()=default |
| virtual std::string | icon () const |
| virtual bool | allow_era_choice () const |
| void | set_data (const config &data) |
| const config & | data () const |
| config & | data () |
Private Member Functions | |
| user_map (const user_map &)=delete | |
| user_map & | operator= (const user_map &)=delete |
Private Attributes | |
| std::string | name_ |
Additional Inherited Members | |
Protected Member Functions inherited from ng::scenario | |
| void | set_sides () |
Protected Attributes inherited from ng::scenario | |
| std::unique_ptr< gamemap > | map_ |
| std::string | map_hash_ |
Protected Attributes inherited from ng::level | |
| config | data_ |
Definition at line 154 of file create_engine.hpp.
Definition at line 127 of file create_engine.cpp.
References ng::scenario::map_, and set_metadata().
|
privatedelete |
|
virtual |
Reimplemented from ng::level.
Definition at line 143 of file create_engine.cpp.
References _(), and ng::level::data_.
|
inlinevirtual |
For user maps, the id and name are the same.
Reimplemented from ng::level.
Definition at line 162 of file create_engine.hpp.
References name_.
|
inlinevirtual |
|
virtual |
Reimplemented from ng::scenario.
Definition at line 138 of file create_engine.cpp.
References ng::scenario::set_sides().
Referenced by user_map().
|
private |
Definition at line 178 of file create_engine.hpp.