C# Class TrueCraft.Client.TrueCraftGame

Inheritance: Game
Afficher le fichier Open project: Pr0methean/NewCraft Class Usage Examples

Méthodes publiques

Свойство Type Description
Reach int

Private Properties

Свойство Type Description
CreateRenderTarget void
OnGamePadButtonDown void
OnGamePadButtonUp void
OnKeyboardKeyDown void
OnKeyboardKeyUp void
OnMouseComponentButtonDown void
OnMouseComponentButtonUp void
OnMouseComponentMove void
OnMouseComponentScroll void
UpdateCamera void

Méthodes publiques

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
LoadContent ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

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

Method Details

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Draw() protected méthode

protected Draw ( GameTime gameTime ) : void
gameTime GameTime
Résultat void

FlushMainThreadActions() public méthode

public FlushMainThreadActions ( ) : void
Résultat void

HandleClientPropertyChanged() public méthode

public HandleClientPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
sender object
e PropertyChangedEventArgs
Résultat void

Initialize() protected méthode

protected Initialize ( ) : void
Résultat void

Invoke() public méthode

public Invoke ( Action action ) : void
action Action
Résultat void

LoadContent() protected méthode

protected LoadContent ( ) : void
Résultat void

TakeScreenshot() public méthode

public TakeScreenshot ( ) : void
Résultat void

TrueCraftGame() public méthode

public TrueCraftGame ( MultiplayerClient client, IPEndPoint endPoint ) : System
client MultiplayerClient
endPoint IPEndPoint
Résultat System

Update() protected méthode

protected Update ( GameTime gameTime ) : void
gameTime GameTime
Résultat void

Window_ClientSizeChanged() public méthode

public Window_ClientSizeChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void

Property Details

Reach public_oe static_oe property

public static int Reach
Résultat int