C# Class CEngineSharp_Client.Graphics.GameScreen

Inheritance: Screen
Exibir arquivo Open project: JohnLamontagne/CEngineSharp

Public Methods

Method Description
AddChatMessage ( string message, Color color ) : void
DisplayAlert ( string title, string alertMessage, int x, int y, Color color ) : void
GameScreen ( RenderWindow window ) : CEngineSharp_Client.Audio
Render ( GameTime gameTime ) : void

Protected Methods

Method Description
LoadInterface ( ) : void

Private Methods

Method Description
HandleAlertMessage ( PacketReceivedEventArgs args ) : void
HandleChatMessage ( PacketReceivedEventArgs args ) : void
_window_KeyPressed ( object sender, KeyEventArgs e ) : void
_window_KeyReleased ( object sender, KeyEventArgs e ) : void
_window_MouseButtonPressed ( object sender, MouseButtonEventArgs e ) : void
_window_Resized ( object sender, SizeEventArgs e ) : void
buttonInventory_LeftMouseClickedCallback ( object sender, TGUI.CallbackArgs e ) : void
buttonLogout_LeftMouseClickedCallback ( object sender, TGUI.CallbackArgs e ) : void
messageBoxAlert_ClosedCallback ( object sender, TGUI.CallbackArgs e ) : void
picInventory_LeftMouseClickedCallback ( object sender, TGUI.CallbackArgs e ) : void
textMyChat_ReturnKeyPressedCallback ( object sender, TGUI.CallbackArgs e ) : void

Method Details

AddChatMessage() public method

public AddChatMessage ( string message, Color color ) : void
message string
color Color
return void

DisplayAlert() public method

public DisplayAlert ( string title, string alertMessage, int x, int y, Color color ) : void
title string
alertMessage string
x int
y int
color Color
return void

GameScreen() public method

public GameScreen ( RenderWindow window ) : CEngineSharp_Client.Audio
window SFML.Graphics.RenderWindow
return CEngineSharp_Client.Audio

LoadInterface() protected method

protected LoadInterface ( ) : void
return void

Render() public method

public Render ( GameTime gameTime ) : void
gameTime GameTime
return void