The Battle for Wesnoth  1.19.1+dev
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ng::random_map Class Reference

#include <create_engine.hpp>

Inheritance diagram for ng::random_map:

Public Member Functions

 random_map (const config &data)
const configgenerator_data () const
std::string generator_name () const
map_generatorcreate_map_generator () const
bool generate_whole_scenario () const
- Public Member Functions inherited from ng::scenario
 scenario (const config &data)
bool can_launch_game () const
void set_metadata ()
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 id () const
virtual std::string name () const
virtual std::string icon () const
virtual std::string description () const
virtual bool allow_era_choice () const
void set_data (const config &data)
const configdata () const
configdata ()

Private Member Functions

 random_map (const random_map &)=delete
random_mapoperator= (const random_map &)=delete

Private Attributes

config generator_data_
bool generate_whole_scenario_
std::string generator_name_

Additional Inherited Members

- Protected Member Functions inherited from ng::scenario
void set_sides ()
- Protected Attributes inherited from ng::scenario
std::unique_ptr< gamemapmap_
std::string map_hash_
- Protected Attributes inherited from ng::level
config data_

Detailed Description

Definition at line 181 of file create_engine.hpp.

Constructor & Destructor Documentation

◆ random_map() [1/2]

ng::random_map::random_map ( const config data)

◆ random_map() [2/2]

ng::random_map::random_map ( const random_map )

Member Function Documentation

◆ create_map_generator()

map_generator * ng::random_map::create_map_generator ( ) const

◆ generate_whole_scenario()

bool ng::random_map::generate_whole_scenario ( ) const

Definition at line 198 of file create_engine.hpp.

References generate_whole_scenario_.

Referenced by ng::create_engine::init_generated_level_data().

◆ generator_data()

const config& ng::random_map::generator_data ( ) const

Definition at line 186 of file create_engine.hpp.

References generator_data_.

Referenced by create_map_generator().

◆ generator_name()

std::string ng::random_map::generator_name ( ) const

Definition at line 191 of file create_engine.hpp.

References generator_name_.

Referenced by create_map_generator().

◆ operator=()

random_map& ng::random_map::operator= ( const random_map )

Member Data Documentation

◆ generate_whole_scenario_

bool ng::random_map::generate_whole_scenario_

Definition at line 209 of file create_engine.hpp.

Referenced by generate_whole_scenario().

◆ generator_data_

config ng::random_map::generator_data_

Definition at line 207 of file create_engine.hpp.

Referenced by generator_data(), and random_map().

◆ generator_name_

std::string ng::random_map::generator_name_

Definition at line 210 of file create_engine.hpp.

Referenced by generator_name().

The documentation for this class was generated from the following files: