The Battle for Wesnoth  1.19.0-dev
Classes | Functions
game_board.hpp File Reference
#include "display_context.hpp"
#include "side_controller.hpp"
#include "team.hpp"
#include "terrain/type_data.hpp"
#include "units/map.hpp"
#include "units/id.hpp"
#include <optional>
#include <set>
#include <vector>
Include dependency graph for game_board.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  game_board
 Game board class. More...
 
struct  temporary_unit_placer
 This object is used to temporary place a unit in the unit map, swapping out any unit that is already there. More...
 
struct  temporary_unit_remover
 This object is used to temporary remove a unit from the unit map. More...
 
struct  temporary_unit_mover
 This object is used to temporary move a unit in the unit map, swapping out any unit that is already there. More...
 

Functions

void swap (game_board &one, game_board &other)
 

Function Documentation

◆ swap()

void swap ( game_board one,
game_board other 
)

Definition at line 131 of file game_board.cpp.