C# Class Board.Board

显示文件 Open project: KNCT-KPC/Bungo Class Usage Examples

Public Methods

Method Description
Board ( ) : System
Copy ( Board other ) : void
place ( int original_stone, bool front, int angle, int x, int y ) : bool
reset ( ) : void

Protected Methods

Method Description
OnPaint ( PaintEventArgs e ) : void

Private Methods

Method Description
Board_Load ( object sender, EventArgs e ) : void
dfs ( int map, int x, int y ) : void
getColor ( int x, int y ) : System.Color
isAccept ( ) : bool

Method Details

Board() public method

public Board ( ) : System
return System

Copy() public method

public Copy ( Board other ) : void
other Board
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

place() public method

public place ( int original_stone, bool front, int angle, int x, int y ) : bool
original_stone int
front bool
angle int
x int
y int
return bool

reset() public method

public reset ( ) : void
return void