메소드 | 설명 | |
---|---|---|
Explode ( Battlefield.Logic.GameObjects.Cell cell, bool chainEnabled, Battlefield.Logic.GameObjects.CompositeBomb chainedBombs ) : int |
Handling explosions.
|
|
Field ( int size, int numberOfBombs ) : System.Collections.Generic | ||
ToString ( ) : string |
ToString overriding.
|
메소드 | 설명 | |
---|---|---|
FillFieldWithEmptyCells ( ) : void |
Filling playfield with empty cells.
|
|
PlaceBombs ( int mineNumber ) : void |
Method arming the field with bombs.
|
public Explode ( Battlefield.Logic.GameObjects.Cell cell, bool chainEnabled, Battlefield.Logic.GameObjects.CompositeBomb chainedBombs ) : int | ||
cell | Battlefield.Logic.GameObjects.Cell | Coordinates and eventually value of the cell. |
chainEnabled | bool | Boolean value if chain reaction enabled. |
chainedBombs | Battlefield.Logic.GameObjects.CompositeBomb | Array for holding chained bombs. |
리턴 | int |
public Field ( int size, int numberOfBombs ) : System.Collections.Generic | ||
size | int | |
numberOfBombs | int | |
리턴 | System.Collections.Generic |