C# Class Terraria.World.Generation.GenShape

Inheritance: GenBase
Show file Open project: EmuDevs/EDTerraria Class Usage Examples

Protected Properties

Property Type Description
_quitOnFail bool

Public Methods

Method Description
Output ( ShapeData outputData ) : GenShape
Perform ( Point origin, GenAction action ) : bool
QuitOnFail ( bool value = true ) : GenShape

Protected Methods

Method Description
UnitApply ( GenAction action, Point origin, int x, int y ) : bool

Method Details

Output() public method

public Output ( ShapeData outputData ) : GenShape
outputData ShapeData
return GenShape

Perform() public abstract method

public abstract Perform ( Point origin, GenAction action ) : bool
origin Microsoft.Xna.Framework.Point
action GenAction
return bool

QuitOnFail() public method

public QuitOnFail ( bool value = true ) : GenShape
value bool
return GenShape

UnitApply() protected method

protected UnitApply ( GenAction action, Point origin, int x, int y ) : bool
action GenAction
origin Microsoft.Xna.Framework.Point
x int
y int
return bool

Property Details

_quitOnFail protected property

protected bool _quitOnFail
return bool