Method | Description | |
---|---|---|
Explode ( float delay ) : bool |
Explodes the tile after a delay.
|
|
Initialize ( int diamonds, int xCoord, int yCoord, LevelScript, inLevel ) : void |
Initializes the tile with new data.
|
|
OnRecycle ( ) : void |
Called when the tile is about to be returned to the object pool.
|
|
PlayAnimation ( ) : void |
Plays the hint animation on this tile.
|
Method | Description | |
---|---|---|
DoExplode ( ) : void |
Explodes the tile, spawning effects as necessary.
|
|
GetGrassChild ( ) : GameObject |
Gets the child grass covering for this tile, if it exists.
|
|
OnClicked ( ) : void |
Called when the player clicks on this tile.
|
|
SpawnExplosion ( ) : void |
Spawn an overhead explosion animation.
|
|
Start ( ) : void | ||
Update ( ) : void |
public Explode ( float delay ) : bool | ||
delay | float | The delay before exploding, in seconds. |
return | bool |
public Initialize ( int diamonds, int xCoord, int yCoord, LevelScript, inLevel ) : void | ||
diamonds | int | Number of diamonds in the tile. |
xCoord | int | x-position in the grid for the tile. |
yCoord | int | y-position in the grid for the tile. |
inLevel | LevelScript, | Reference to the level the tile is in. |
return | void |