Class TileMap
Inheritance
System.Object
TileMap
Assembly: cs.temp.dll.dll
Syntax
public class TileMap : MonoBehaviour
Fields
blockPrefab
Declaration
public GameObject blockPrefab
Field Value
| Type |
Description |
| GameObject |
|
blockWithTexture
Declaration
public Material blockWithTexture
Field Value
| Type |
Description |
| Material |
|
GridHeight
Declaration
public static int GridHeight
Field Value
| Type |
Description |
| System.Int32 |
|
GridWidth
Declaration
public static int GridWidth
Field Value
| Type |
Description |
| System.Int32 |
|
IsClear
Declaration
public static List<int> IsClear
Field Value
| Type |
Description |
| System.Collections.Generic.List<System.Int32> |
|
IsGameOver
Declaration
public static bool IsGameOver
Field Value
| Type |
Description |
| System.Boolean |
|
timeGameOver
Declaration
public float timeGameOver
Field Value
| Type |
Description |
| System.Single |
|
timeToGameOver
Declaration
public float timeToGameOver
Field Value
| Type |
Description |
| System.Single |
|
Properties
GameOverCube
Declaration
public static GameObject[, ] GameOverCube { get; set; }
Property Value
| Type |
Description |
| GameObject[,] |
|
LineToAnimate
Declaration
public static GameObject[, ] LineToAnimate { get; set; }
Property Value
| Type |
Description |
| GameObject[,] |
|
MovementTileMap
Declaration
public static SubTileMap MovementTileMap { get; set; }
Property Value
PlayGrid
Declaration
public static int[, ] PlayGrid { get; set; }
Property Value
| Type |
Description |
| System.Int32[,] |
|
Methods
ClearCollisionMap()
Clears the collision map, which is used for detecting player to player collisions
Declaration
public static void ClearCollisionMap()
ClearGridCubes()
Clears the GameObject grid cubes
Declaration
public static void ClearGridCubes()
GameOver(Boolean)
Starts the game over animation, resets the play grid
Declaration
public static void GameOver(bool isReal)
Parameters
| Type |
Name |
Description |
| System.Boolean |
isReal |
|
InitializeGrid()
Initializes the play grid
Declaration
public void InitializeGrid()