Event object for OnUpdated
class
|
PyramidEventArgs
|
The pyramid that has been modified.
public
readonly
field
|
Source
|
||
type
|
IPyramidBase
|
The topmost pyramid tile that fully contains the modified regions.
public
readonly
field
|
Tile
|
||
type
|
PyramidCoords
|
See also:
PyramidCoords.ContainsCreates a new instance of PyramidEventArgs.
public
constructor
|
PyramidEventArgs
(IPyramidBase source,
PyramidCoords tile)
|
||
params
|
source
|
[not-null]
|
The pyramid that has been modified. |
tile
|
The pyramid tile that has been modified. |
Checks if the given pyramid tile has been modified.
public
virtual
method
|
IsModified
(PyramidCoords tile)
|
||
type
|
bool
|
||
params
|
tile
|
The pyramid tile. | |
returns
|
true
if
tile
has
been
modified,
false
if
not.
|
Remarks:
The default implementation calls Contains on Tile, passing the given tile as argument.
Creates a new instance of PyramidEventArgs for the given source pyramid.
public
virtual
method
|
SetSource
(IPyramidBase source)
|
||
type
|
PyramidEventArgs
|
||
params
|
source
|
[not-null]
|
The pyramid that has been modified. |
returns
|
|
The resulting event argument object. |