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

#include <ed_mapcomponent.h>

Inheritance diagram for LuaBrush:
Inheritance graph
[legend]

Public Member Functions

 LuaBrush (const ASCString &filename)
 
bool supportMultiFieldPlacement () const
 
int place (const MapCoordinate &mc) const
 
virtual LuaBrushclone () const
 
virtual ASCString getName () const
 
- Public Member Functions inherited from Placeable
virtual ~Placeable ()
 
void vPlace (const MapCoordinate &mc) const
 just a wrapper so we have a function return void More...
 
virtual bool remove (const MapCoordinate &mc) const
 

Protected Attributes

ASCString script
 

Detailed Description

Definition at line 177 of file ed_mapcomponent.h.

Constructor & Destructor Documentation

LuaBrush::LuaBrush ( const ASCString filename)

Definition at line 58 of file ed_mapcomponent.cpp.

Referenced by clone().

Member Function Documentation

LuaBrush * LuaBrush::clone ( ) const
virtual

Implements Placeable.

Definition at line 74 of file ed_mapcomponent.cpp.

References LuaBrush(), and script.

virtual ASCString LuaBrush::getName ( ) const
inlinevirtual

Implements Placeable.

Definition at line 185 of file ed_mapcomponent.h.

References script.

int LuaBrush::place ( const MapCoordinate mc) const
virtual
bool LuaBrush::supportMultiFieldPlacement ( ) const
inlinevirtual

Implements Placeable.

Definition at line 182 of file ed_mapcomponent.h.

Member Data Documentation

ASCString LuaBrush::script
protected

Definition at line 179 of file ed_mapcomponent.h.

Referenced by clone(), getName(), and place().


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