The Battle for Wesnoth  1.15.1+dev
Classes | Namespaces | Functions
game_board.hpp File Reference
#include "display_context.hpp"
#include "team.hpp"
#include "terrain/type_data.hpp"
#include "units/map.hpp"
#include "units/id.hpp"
#include <boost/optional.hpp>
#include <set>
#include <vector>
Include dependency graph for game_board.hpp:

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...
 

Namespaces

 events
 Handling of system events.
 

Functions

void swap (game_board &one, game_board &other)
 

Function Documentation

◆ swap()

void swap ( game_board one,
game_board other 
)