C# Class spaceconquest.GlobalChatClientGUI

Afficher le fichier Open project: cclay/spaceconquest

Méthodes publiques

Méthode Description
Draw ( SpriteBatch s ) : void
GetHeight ( ) : int
GetLocation ( ) : Vector2
GetWidth ( ) : int
GlobalChatClientGUI ( Vector2 position, Vector2 containerSize, Vector2 chatBoxSize, int refreshTimeInMilliseconds, SpriteFont chatFont, Color containerColor, Color chatBoxColor, List textureList ) : System
HasFocus ( ) : bool
MouseIsOverlapping ( Microsoft.Xna.Framework.Input.MouseState m ) : bool
ProcessKeyInput ( KeyboardState k, String playerName ) : void
SetHeight ( int newHeight ) : void
SetLocation ( Vector2 newLocation ) : void
SetWidth ( int newWidth ) : void
UpdateChat ( ) : void
setFocus ( System.Boolean b ) : void

Private Methods

Méthode Description
Draw ( SpriteBatch s, SpriteFont f, List textureList ) : void
MessageParser ( string name, string message ) : String

Method Details

Draw() public méthode

public Draw ( SpriteBatch s ) : void
s Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

GetHeight() public méthode

public GetHeight ( ) : int
Résultat int

GetLocation() public méthode

public GetLocation ( ) : Vector2
Résultat Vector2

GetWidth() public méthode

public GetWidth ( ) : int
Résultat int

GlobalChatClientGUI() public méthode

public GlobalChatClientGUI ( Vector2 position, Vector2 containerSize, Vector2 chatBoxSize, int refreshTimeInMilliseconds, SpriteFont chatFont, Color containerColor, Color chatBoxColor, List textureList ) : System
position Vector2
containerSize Vector2
chatBoxSize Vector2
refreshTimeInMilliseconds int
chatFont Microsoft.Xna.Framework.Graphics.SpriteFont
containerColor Color
chatBoxColor Color
textureList List
Résultat System

HasFocus() public méthode

public HasFocus ( ) : bool
Résultat bool

MouseIsOverlapping() public méthode

public MouseIsOverlapping ( Microsoft.Xna.Framework.Input.MouseState m ) : bool
m Microsoft.Xna.Framework.Input.MouseState
Résultat bool

ProcessKeyInput() public méthode

public ProcessKeyInput ( KeyboardState k, String playerName ) : void
k Microsoft.Xna.Framework.Input.KeyboardState
playerName String
Résultat void

SetHeight() public méthode

public SetHeight ( int newHeight ) : void
newHeight int
Résultat void

SetLocation() public méthode

public SetLocation ( Vector2 newLocation ) : void
newLocation Vector2
Résultat void

SetWidth() public méthode

public SetWidth ( int newWidth ) : void
newWidth int
Résultat void

UpdateChat() public méthode

public UpdateChat ( ) : void
Résultat void

setFocus() public méthode

public setFocus ( System.Boolean b ) : void
b System.Boolean
Résultat void