#include <ed_mapcomponent.h>
Inheritance diagram for Placeable:

Public Member Functions | |
| virtual | ~Placeable () |
| virtual bool | supportMultiFieldPlacement () const=0 |
| virtual int | place (const MapCoordinate &mc) const=0 |
| void | vPlace (const MapCoordinate &mc) const |
| just a wrapper so we have a function return void | |
| virtual Placeable * | clone () const=0 |
| virtual bool | remove (const MapCoordinate &mc) const |
| virtual ASCString | getName () const=0 |
Definition at line 39 of file ed_mapcomponent.h.
| virtual Placeable::~Placeable | ( | ) | [inline, virtual] |
Definition at line 41 of file ed_mapcomponent.h.
| virtual bool Placeable::supportMultiFieldPlacement | ( | ) | const [pure virtual] |
| virtual int Placeable::place | ( | const MapCoordinate & | mc | ) | const [pure virtual] |
Implemented in VehicleItem, BuildingItem, ObjectItem, TerrainItem, MineItem, and LuaBrush.
Referenced by placeCurrentItem(), and vPlace().
| void Placeable::vPlace | ( | const MapCoordinate & | mc | ) | const [inline] |
just a wrapper so we have a function return void
Definition at line 45 of file ed_mapcomponent.h.
References place().
Referenced by placeCurrentItem().
| virtual Placeable* Placeable::clone | ( | ) | const [pure virtual] |
Implemented in VehicleItem, BuildingItem, ObjectItem, TerrainItem, MineItem, and LuaBrush.
Referenced by SelectionHolder::setSelection().
| virtual bool Placeable::remove | ( | const MapCoordinate & | mc | ) | const [inline, virtual] |
Reimplemented in ObjectItem.
Definition at line 47 of file ed_mapcomponent.h.
Referenced by removeCurrentItem().
| virtual ASCString Placeable::getName | ( | ) | const [pure virtual] |
Implemented in MapComponent, BasicItem< Item >, BuildingItem, LuaBrush, BasicItem< VehicleType >, BasicItem< TerrainType >, BasicItem< MineType >, and BasicItem< ObjectType >.
Referenced by Maped_MainScreenWidget::selectionChanged().
1.5.1