C# Class Camfight.Form1

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: tuxoko/camfight

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

清除任何使用中的資源。

Private Methods

Méthode 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 méthode

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

EnemyMove() public méthode

public EnemyMove ( packet receiveobj ) : void
receiveobj packet
Résultat void

Form1() public méthode

public Form1 ( ) : System
Résultat System

GameControlReset() public méthode

public GameControlReset ( Object myObject, EventArgs myEventArgs ) : void
myObject Object
myEventArgs System.EventArgs
Résultat void

GameDraw() public méthode

public GameDraw ( Object myObject, EventArgs myEventArgs ) : void
myObject Object
myEventArgs System.EventArgs
Résultat void

PlayerStateReset() public méthode

public PlayerStateReset ( Object myObject, EventArgs myEventArgs ) : void
myObject Object
myEventArgs System.EventArgs
Résultat void

Render() public méthode

public Render ( int index ) : void
index int
Résultat void

RenderGameOver() public méthode

public RenderGameOver ( ) : void
Résultat void

RenderLoading() public méthode

public RenderLoading ( ) : void
Résultat void

RenderLog() public méthode

public RenderLog ( ) : void
Résultat void

RenderMenu() public méthode

public RenderMenu ( ) : void
Résultat void

RenderTitle() public méthode

public RenderTitle ( ) : void
Résultat void

SetAnimation() public méthode

public SetAnimation ( ) : void
Résultat void

mymove() public méthode

public mymove ( packet receiveobj ) : void
receiveobj packet
Résultat void