PyramidEventArgs

Description

class Tinman.Terrain.Pyramids.PyramidEventArgs

Event object for IPyramidBase.OnUpdated

Public / Constructors

Pyramid​Event​Args


public constructor PyramidEventArgs → (2)

source in : IPyramidBase

[not-null]
The pyramid that has been modified.

tile in : PyramidCoords

The pyramid tile that has been modified.

Creates a new instance of PyramidEventArgs.

Public / Methods

Is​Modified


public virtual method IsModified → (1)

tile in : PyramidCoords

The pyramid tile.

returns → bool

true if tile in is affected by this modification,
false if it is not affected.

Checks if the given pyramid tile is affected by the modification of Tile.

Set​Source


public virtual method SetSource → (1)

source in : IPyramidBase

[not-null]
The pyramid that has been modified.

returns → PyramidEventArgs

The resulting event argument object.

Creates a new instance of PyramidEventArgs for the given source pyramid.

Public / Attributes

Source


public readonly attribute Source → (IPyramidBase)

The pyramid that has been modified.

Tile


public readonly attribute Tile → (PyramidCoords)

The modified pyramid tile.