C# Class RussianBlock.Game

显示文件 Open project: whoKnowsss/Hdu_Study

Public Properties

Property Type Description
CurPoint Point

Public Methods

Method Description
ClearPath ( ) : void
CurPointMove ( int action, Graphics g ) : void
Draw ( Graphics g, bool Redraw ) : void
FillFlag ( Point p1, Point p2 ) : void
FindPath ( ) : ArrayList
Game ( ) : System
PointMove ( Point p, Graphics g ) : void
getRandomBlock ( ) : void
setBlock ( Random r, ArrayList al, int count, int flag ) : void
setFlag ( Point cp, int level, ArrayList al ) : void

Private Methods

Method Description
getPath ( ArrayList al, Point p ) : void

Method Details

ClearPath() public method

public ClearPath ( ) : void
return void

CurPointMove() public method

public CurPointMove ( int action, Graphics g ) : void
action int
g Graphics
return void

Draw() public method

public Draw ( Graphics g, bool Redraw ) : void
g System.Drawing.Graphics
Redraw bool
return void

FillFlag() public method

public FillFlag ( Point p1, Point p2 ) : void
p1 Point
p2 Point
return void

FindPath() public method

public FindPath ( ) : ArrayList
return ArrayList

Game() public method

public Game ( ) : System
return System

PointMove() public method

public PointMove ( Point p, Graphics g ) : void
p Point
g Graphics
return void

getRandomBlock() public method

public getRandomBlock ( ) : void
return void

setBlock() public method

public setBlock ( Random r, ArrayList al, int count, int flag ) : void
r Random
al ArrayList
count int
flag int
return void

setFlag() public method

public setFlag ( Point cp, int level, ArrayList al ) : void
cp Point
level int
al ArrayList
return void

Property Details

CurPoint public_oe property

public Point CurPoint
return Point