Advanced Strategic Command
Public Member Functions | List of all members
Placeable Class Referenceabstract

#include <ed_mapcomponent.h>

Inheritance diagram for Placeable:
Inheritance graph
[legend]

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 More...
 
virtual Placeableclone () const =0
 
virtual bool remove (const MapCoordinate &mc) const
 
virtual ASCString getName () const =0
 

Detailed Description

Definition at line 39 of file ed_mapcomponent.h.

Constructor & Destructor Documentation

virtual Placeable::~Placeable ( )
inlinevirtual

Definition at line 41 of file ed_mapcomponent.h.

Member Function Documentation

virtual Placeable* Placeable::clone ( ) const
pure virtual
virtual ASCString Placeable::getName ( ) const
pure virtual
virtual int Placeable::place ( const MapCoordinate mc) const
pure virtual
virtual bool Placeable::remove ( const MapCoordinate mc) const
inlinevirtual

Reimplemented in ObjectItem.

Definition at line 47 of file ed_mapcomponent.h.

Referenced by removeCurrentItem().

virtual bool Placeable::supportMultiFieldPlacement ( ) const
pure virtual

Implemented in LuaBrush, BuildingItem, and MapComponent.

Referenced by placeCurrentItem().

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


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