Class RegionAreaChangedEventArgs
Event fired when a region's Area is changed.
Inherited Members
Namespace: GoRogue.MapGeneration
Assembly: GoRogue.dll
Syntax
public class RegionAreaChangedEventArgs : EventArgs
Constructors
View SourceRegionAreaChangedEventArgs(PolygonArea, PolygonArea)
The Event Arguments for when a region's area is changed
Declaration
public RegionAreaChangedEventArgs(PolygonArea oldValue, PolygonArea newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| PolygonArea | oldValue | The former value of the Area |
| PolygonArea | newValue | The new value of the Area |
Fields
View SourceNewValue
The Area to which we update
Declaration
public readonly PolygonArea NewValue
Field Value
| Type | Description |
|---|---|
| PolygonArea |
OldValue
The previous Area
Declaration
public readonly PolygonArea OldValue
Field Value
| Type | Description |
|---|---|
| PolygonArea |