C# Class fCraft.MineField

Show file Open project: GlennMR/800craft Class Usage Examples

Public Properties

Property Type Description
Failed List
Mines Vector3I>.ConcurrentDictionary

Public Methods

Method Description
GetInstance ( ) : MineField
PlayerBlowUpCheck ( Player player ) : bool
Start ( Player player ) : void
Stop ( Player player, bool Won ) : void

Private Methods

Method Description
MineField ( ) : System
PlayerMoving ( object sender, PlayerMovingEventArgs e ) : void
PlayerPlacing ( object sender, PlayerPlacingBlockEventArgs e ) : void
SetUpGreen ( ) : void
SetUpMiddleWater ( ) : void
SetUpMines ( ) : void
SetUpRed ( ) : void

Method Details

GetInstance() public static method

public static GetInstance ( ) : MineField
return MineField

PlayerBlowUpCheck() public static method

public static PlayerBlowUpCheck ( Player player ) : bool
player Player
return bool

Start() public static method

public static Start ( Player player ) : void
player Player
return void

Stop() public static method

public static Stop ( Player player, bool Won ) : void
player Player
Won bool
return void

Property Details

Failed public static property

public static List Failed
return List

Mines public static property

public static ConcurrentDictionary Mines
return Vector3I>.ConcurrentDictionary