C# 클래스 TrueCraft.Client.TrueCraftGame

상속: Game
파일 보기 프로젝트 열기: Pr0methean/NewCraft 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Reach int

Private Properties

프로퍼티 타입 설명
CreateRenderTarget void
OnGamePadButtonDown void
OnGamePadButtonUp void
OnKeyboardKeyDown void
OnKeyboardKeyUp void
OnMouseComponentButtonDown void
OnMouseComponentButtonUp void
OnMouseComponentMove void
OnMouseComponentScroll void
UpdateCamera void

공개 메소드들

메소드 설명
FlushMainThreadActions ( ) : void
HandleClientPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
Invoke ( Action action ) : void
TakeScreenshot ( ) : void
TrueCraftGame ( MultiplayerClient client, IPEndPoint endPoint ) : System
Window_ClientSizeChanged ( object sender, EventArgs e ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
LoadContent ( ) : void
Update ( GameTime gameTime ) : void

비공개 메소드들

메소드 설명
CreateRenderTarget ( ) : void
OnGamePadButtonDown ( object sender, GamePadButtonEventArgs e ) : void
OnGamePadButtonUp ( object sender, GamePadButtonEventArgs e ) : void
OnKeyboardKeyDown ( object sender, KeyboardKeyEventArgs e ) : void
OnKeyboardKeyUp ( object sender, KeyboardKeyEventArgs e ) : void
OnMouseComponentButtonDown ( object sender, MouseButtonEventArgs e ) : void
OnMouseComponentButtonUp ( object sender, MouseButtonEventArgs e ) : void
OnMouseComponentMove ( object sender, MouseMoveEventArgs e ) : void
OnMouseComponentScroll ( object sender, MouseScrollEventArgs e ) : void
UpdateCamera ( ) : void

메소드 상세

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Draw() 보호된 메소드

protected Draw ( GameTime gameTime ) : void
gameTime GameTime
리턴 void

FlushMainThreadActions() 공개 메소드

public FlushMainThreadActions ( ) : void
리턴 void

HandleClientPropertyChanged() 공개 메소드

public HandleClientPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
sender object
e PropertyChangedEventArgs
리턴 void

Initialize() 보호된 메소드

protected Initialize ( ) : void
리턴 void

Invoke() 공개 메소드

public Invoke ( Action action ) : void
action Action
리턴 void

LoadContent() 보호된 메소드

protected LoadContent ( ) : void
리턴 void

TakeScreenshot() 공개 메소드

public TakeScreenshot ( ) : void
리턴 void

TrueCraftGame() 공개 메소드

public TrueCraftGame ( MultiplayerClient client, IPEndPoint endPoint ) : System
client MultiplayerClient
endPoint IPEndPoint
리턴 System

Update() 보호된 메소드

protected Update ( GameTime gameTime ) : void
gameTime GameTime
리턴 void

Window_ClientSizeChanged() 공개 메소드

public Window_ClientSizeChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

프로퍼티 상세

Reach 공개적으로 정적으로 프로퍼티

public static int Reach
리턴 int