C# Class Bacterium.Game

Show file Open project: vgamula/Bacterium Class Usage Examples

Public Methods

Method Description
ChangeList ( MyPoint p, int i ) : int
Clone ( Cell c, int side, int i, int j ) : void
Expansion ( MyPoint p ) : int
Find ( int side, int x, int y ) : MyPoint
Game ( System.Windows.Controls.Canvas grid ) : System
InitializeCells ( ) : void
JumpToCell ( int x, int y, MyPoint p ) : bool
Load ( ) : void
Message ( ) : void
Restart ( ) : void
Save ( ) : void
Start ( ) : void

Private Methods

Method Description
Jump ( MyPoint p, Cell c, int i, int j ) : void

Method Details

ChangeList() public method

public ChangeList ( MyPoint p, int i ) : int
p MyPoint
i int
return int

Clone() public method

public Clone ( Cell c, int side, int i, int j ) : void
c Cell
side int
i int
j int
return void

Expansion() public method

public Expansion ( MyPoint p ) : int
p MyPoint
return int

Find() public method

public Find ( int side, int x, int y ) : MyPoint
side int
x int
y int
return MyPoint

Game() public method

public Game ( System.Windows.Controls.Canvas grid ) : System
grid System.Windows.Controls.Canvas
return System

InitializeCells() public method

public InitializeCells ( ) : void
return void

JumpToCell() public method

public JumpToCell ( int x, int y, MyPoint p ) : bool
x int
y int
p MyPoint
return bool

Load() public method

public Load ( ) : void
return void

Message() public static method

public static Message ( ) : void
return void

Restart() public method

public Restart ( ) : void
return void

Save() public method

public Save ( ) : void
return void

Start() public method

public Start ( ) : void
return void