C# Class Gruppe22.Client.Toolbar

Inheritance: UIElement
Afficher le fichier Open project: propra13-orga/gruppe22 Class Usage Examples

Méthodes publiques

Méthode Description
DisplayToolTip ( int icon ) : void

Append a new line of text to the status box; word wrap if necessary

Draw ( GameTime gametime ) : void
HandleEvent ( bool DownStream, Backend eventID ) : void
OnKeyDown ( Microsoft k ) : bool
OnMouseDown ( int button ) : bool
OnMouseUp ( int button ) : bool
Pos2Tile ( int x, int y ) : int
Toolbar ( Backend parent, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, Rectangle displayRect, Backend actor ) : System
Update ( GameTime gameTime ) : void

Method Details

DisplayToolTip() public méthode

Append a new line of text to the status box; word wrap if necessary
public DisplayToolTip ( int icon ) : void
icon int
Résultat void

Draw() public méthode

public Draw ( GameTime gametime ) : void
gametime Microsoft.Xna.Framework.GameTime
Résultat void

HandleEvent() public méthode

public HandleEvent ( bool DownStream, Backend eventID ) : void
DownStream bool
eventID Backend
Résultat void

OnKeyDown() public méthode

public OnKeyDown ( Microsoft k ) : bool
k Microsoft
Résultat bool

OnMouseDown() public méthode

public OnMouseDown ( int button ) : bool
button int
Résultat bool

OnMouseUp() public méthode

public OnMouseUp ( int button ) : bool
button int
Résultat bool

Pos2Tile() public méthode

public Pos2Tile ( int x, int y ) : int
x int
y int
Résultat int

Toolbar() public méthode

public Toolbar ( Backend parent, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, Rectangle displayRect, Backend actor ) : System
parent Backend
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
content Microsoft.Xna.Framework.Content.ContentManager
displayRect Microsoft.Xna.Framework.Rectangle
actor Backend
Résultat System

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void