Advanced Strategic Command
Classes | Public Types | Public Member Functions | List of all members
MapSwitcher Class Reference

The class that manages the switching between the primary map (for editing) and the secondary map (for selecting objects and terrain) More...

#include <edmisc.h>

Public Types

enum  Action { select, set }
 

Public Member Functions

Action getDefaultAction ()
 
void toggle ()
 
string getName ()
 
void deleteMaps ()
 
 MapSwitcher ()
 

Detailed Description

The class that manages the switching between the primary map (for editing) and the secondary map (for selecting objects and terrain)

Definition at line 104 of file edmisc.h.

Member Enumeration Documentation

Enumerator
select 
set 

Definition at line 115 of file edmisc.h.

Constructor & Destructor Documentation

MapSwitcher::MapSwitcher ( )
inline

Definition at line 121 of file edmisc.h.

Member Function Documentation

void MapSwitcher::deleteMaps ( )

Definition at line 2003 of file edmisc.cpp.

References actmap, and toggle().

Referenced by main().

MapSwitcher::Action MapSwitcher::getDefaultAction ( )

Definition at line 2062 of file edmisc.cpp.

References select, and set.

Referenced by execaction(), and execaction_pg().

string MapSwitcher::getName ( )
void MapSwitcher::toggle ( )

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