SpriteBase.TileChange Method |
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntaxpublic virtual int TileChange(
int OldTileValue,
int NewTileValue,
bool InitialOnly
)
Parameters
- OldTileValue
- Type: System.Int32
Index of the tile type to search for - NewTileValue
- Type: System.Int32
Which tile should these tiles be changed to - InitialOnly
- Type: System.Boolean
If true, only affect tiles that the player just started touching.
Return Value
Type:
Int32The number of tiles affected.
Remarks
See Also