C# Class Gruppe22.Client.Shop

Inheritance: Window
Show file Open project: propra13-orga/gruppe22 Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
DisplayToolTip ( int column, int y, string text ) : 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
Shop ( Backend parent, SpriteBatch spriteBatch, ContentManager content, Rectangle displayRect, Backend actor1, Backend actor2 ) : System

Constructor

Update ( GameTime gameTime ) : void

Method Details

DisplayToolTip() public method

Append a new line of text to the status box; word wrap if necessary
public DisplayToolTip ( int column, int y, string text ) : void
column int
y int
text string
return void

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

HandleEvent() public method

public HandleEvent ( bool DownStream, Backend eventID ) : void
DownStream bool
eventID Backend
return void

OnKeyDown() public method

public OnKeyDown ( Microsoft k ) : bool
k Microsoft
return bool

OnMouseDown() public method

public OnMouseDown ( int button ) : bool
button int
return bool

Shop() public method

Constructor
public Shop ( Backend parent, SpriteBatch spriteBatch, ContentManager content, Rectangle displayRect, Backend actor1, Backend actor2 ) : System
parent Backend
spriteBatch SpriteBatch
content ContentManager
displayRect Rectangle
actor1 Backend
actor2 Backend
return System

Update() public method

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