The Battle for Wesnoth  1.15.1+dev
Typedefs | Functions
teambuilder.hpp File Reference
#include <memory>
#include <vector>
Include dependency graph for teambuilder.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef std::shared_ptr< team_builderteam_builder_ptr
 

Functions

team_builder_ptr create_team_builder (const config &side_cfg, std::vector< team > &teams, const config &level, game_board &board, int num)
 
void build_team_stage_one (team_builder_ptr tb_ptr)
 
void build_team_stage_two (team_builder_ptr tb_ptr)
 

Typedef Documentation

◆ team_builder_ptr

typedef std::shared_ptr<team_builder> team_builder_ptr

Definition at line 23 of file teambuilder.hpp.

Function Documentation

◆ build_team_stage_one()

void build_team_stage_one ( team_builder_ptr  tb_ptr)

Definition at line 304 of file teambuilder.cpp.

Referenced by game_state::init().

◆ build_team_stage_two()

void build_team_stage_two ( team_builder_ptr  tb_ptr)

Definition at line 309 of file teambuilder.cpp.

Referenced by game_state::init().

◆ create_team_builder()

team_builder_ptr create_team_builder ( const config side_cfg,
std::vector< team > &  teams,
const config level,
game_board board,
int  num 
)

Definition at line 297 of file teambuilder.cpp.

References team_builder::team_builder().

Referenced by game_state::init().