Advanced Strategic Command
Public Member Functions | Public Attributes | List of all members
SelectionHolder Class Reference

#include <edglobal.h>

Inheritance diagram for SelectionHolder:
Inheritance graph

Public Member Functions

 SelectionHolder ()
int getPlayer ()
void setPlayer (int player)
void setWeather (int weather)
int getWeather ()
const PlaceablegetSelection ()
void setSelection (const Placeable &component)
void pickup (MapField *fld)
void clear ()

Public Attributes

sigc::signal< void, int > playerChanged
int brushSize
sigc::signal< void, const
Placeable * > 

Detailed Description

Definition at line 154 of file edglobal.h.

Constructor & Destructor Documentation

SelectionHolder::SelectionHolder ( )

Definition at line 160 of file edglobal.h.

Member Function Documentation

void SelectionHolder::clear ( )

Definition at line 206 of file edglobal.cpp.

References selectionChanged.

Referenced by Maped_MainScreenWidget::clearSelection(), and execaction_pg().

int SelectionHolder::getPlayer ( void  )
const Placeable * SelectionHolder::getSelection ( )

Definition at line 220 of file edglobal.cpp.

Referenced by placeCurrentItem(), and removeCurrentItem().

int SelectionHolder::getWeather ( )

Definition at line 167 of file edglobal.h.

Referenced by execaction(), and TerrainItem::place().

void SelectionHolder::pickup ( MapField fld)
void SelectionHolder::setPlayer ( int  player)
void SelectionHolder::setSelection ( const Placeable component)
void SelectionHolder::setWeather ( int  weather)

Definition at line 212 of file edglobal.cpp.

References selectionChanged.

Referenced by Maped_MainScreenWidget::Maped_MainScreenWidget().

Member Data Documentation

int SelectionHolder::brushSize
sigc::signal<void,int> SelectionHolder::playerChanged
sigc::signal<void,const Placeable*> SelectionHolder::selectionChanged

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