C# Class Camfight.Form1

Inheritance: System.Windows.Forms.Form
Show file Open project: tuxoko/camfight

Public Methods

Method Description
EnemyMove ( packet receiveobj ) : void
Form1 ( ) : System
GameControlReset ( Object myObject, EventArgs myEventArgs ) : void
GameDraw ( Object myObject, EventArgs myEventArgs ) : void
PlayerStateReset ( Object myObject, EventArgs myEventArgs ) : void
Render ( int index ) : void
RenderGameOver ( ) : void
RenderLoading ( ) : void
RenderLog ( ) : void
RenderMenu ( ) : void
RenderTitle ( ) : void
SetAnimation ( ) : void
mymove ( packet receiveobj ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

清除任何使用中的資源。

Private Methods

Method Description
ConnectToServer ( ) : void
Form1_FormClosed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void
Form1_KeyDown ( object sender, KeyEventArgs e ) : void
GameInputControl ( KeyEventArgs e ) : void
GameOver ( string cmd ) : void
GameStart ( packet receiveobj ) : void
GetSector ( Point center, Size frame_size ) : int
InitializeComponent ( ) : void

此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改這個方法的內容。

LoadingContent ( packet pac ) : void
LoadingEnemyContent ( packet pac ) : void
LoginInputControl ( KeyEventArgs e ) : void
ProcessFrame ( ) : void
SendPacket ( packet senddata ) : void
check_big_move ( ) : bool
listenThread ( ) : void
quit ( ) : void
reset ( ) : void
sec_to_big ( int sec ) : int
single_reset ( ) : void

Method Details

Dispose() protected method

清除任何使用中的資源。
protected Dispose ( bool disposing ) : void
disposing bool 如果應該處置 Managed 資源則為 true,否則為 false。
return void

EnemyMove() public method

public EnemyMove ( packet receiveobj ) : void
receiveobj packet
return void

Form1() public method

public Form1 ( ) : System
return System

GameControlReset() public method

public GameControlReset ( Object myObject, EventArgs myEventArgs ) : void
myObject Object
myEventArgs System.EventArgs
return void

GameDraw() public method

public GameDraw ( Object myObject, EventArgs myEventArgs ) : void
myObject Object
myEventArgs System.EventArgs
return void

PlayerStateReset() public method

public PlayerStateReset ( Object myObject, EventArgs myEventArgs ) : void
myObject Object
myEventArgs System.EventArgs
return void

Render() public method

public Render ( int index ) : void
index int
return void

RenderGameOver() public method

public RenderGameOver ( ) : void
return void

RenderLoading() public method

public RenderLoading ( ) : void
return void

RenderLog() public method

public RenderLog ( ) : void
return void

RenderMenu() public method

public RenderMenu ( ) : void
return void

RenderTitle() public method

public RenderTitle ( ) : void
return void

SetAnimation() public method

public SetAnimation ( ) : void
return void

mymove() public method

public mymove ( packet receiveobj ) : void
receiveobj packet
return void