C# Class Mahjong.Control.ProgramControl

Mostrar archivo Open project: Superbil/mahjong Class Usage Examples

Public Properties

Property Type Description
sendoutbrand Brand

Private Properties

Property Type Description
CheckUser void
ShowMessage void
about void
check_chow bool
check_chow_pong_kong_win bool
check_pong_kong bool
check_win bool
chow void
clientPlace void
config void
dark_kong void
exit void
getfromAI Brand
kong void
makeBrand void
newClientGame void
newServerGame void
onlineGame void
pass void
pong void
pushToTable bool
round void
setInforamtion void
showTable void
toUser void
touchBrand void
updateAllPlayer void
win void
win_game void

Public Methods

Method Description
CheckChow ( object sender, EventArgs e ) : void
CheckChowResult ( object sender, EventArgs e ) : void
CheckUserResult ( object sender, EventArgs e ) : void
ProgramControl ( Form f ) : System
getClientBrand ( object sender, EventArgs e ) : void

Protected Methods

Method Description
rotateTimer_Tick ( object sender, EventArgs e ) : void

������U�Ӫ��a�ҭn�����Ʊ�

updatePlayer_Table ( ) : void

��s�{�b�����a�M�ୱ

Private Methods

Method Description
CheckUser ( object sender, EventArgs e ) : void
ShowMessage ( string print_word ) : void
about ( ) : void

About box

check_chow ( Brand brand ) : bool
check_chow_pong_kong_win ( Brand brand ) : bool

�O�_���H�n �J �b �I �Y

check_pong_kong ( Brand brand ) : bool
check_win ( Brand brand ) : bool
chow ( Brand brand ) : void

���a���U�Y�ƥ�I�s

clientPlace ( ) : void
config ( ) : void

config Box

dark_kong ( Brand brand ) : void

���a���U�t�b�ƥ�I�s

exit ( ) : void

�{������

getfromAI ( ) : Brand

�qAI�o��@�i�P

kong ( Brand brand ) : void

���a���U�b�ƥ�I�s

makeBrand ( Brand brand ) : void

�ϥΪ�/AI��X�@�i�P

newClientGame ( object sender, EventArgs e ) : void
newServerGame ( object sender, EventArgs e ) : void
onlineGame ( ) : void

�s�u�]�w

pass ( Brand brand ) : void

���a���U�L��ƥ�I�s

pong ( Brand brand ) : void

���a���U�I�ƥ�I�s

pushToTable ( Brand brand ) : bool

���P

round ( ) : void

���@��n������

setInforamtion ( ) : void

�]�w��ܸ�T

showTable ( ) : void
toUser ( CheckUser check ) : void

��P�ᵹ���a�A�ݬO�_�n�Y �I �b �L�� �J

touchBrand ( ) : void

�N�P

updateAllPlayer ( object sender, EventArgs e ) : void
win ( Brand brand ) : void

���a���U�J�ƥ�I�s

win_game ( Brand brand ) : void

����C��

Method Details

CheckChow() public method

public CheckChow ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

CheckChowResult() public method

public CheckChowResult ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

CheckUserResult() public method

public CheckUserResult ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

ProgramControl() public method

public ProgramControl ( Form f ) : System
f System.Windows.Forms.Form
return System

getClientBrand() public method

public getClientBrand ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

rotateTimer_Tick() protected method

������U�Ӫ��a�ҭn�����Ʊ�
protected rotateTimer_Tick ( object sender, EventArgs e ) : void
sender object �ɶ��˼ƾ�
e System.EventArgs
return void

updatePlayer_Table() protected method

��s�{�b�����a�M�ୱ
protected updatePlayer_Table ( ) : void
return void

Property Details

sendoutbrand public_oe property

�C������غc�l
public Brand sendoutbrand
return Brand