C# Class Gruppe22.Client.FileDialog

Inheritance: Window, Backend.IHandleEvent
ファイルを表示 Open project: propra13-orga/gruppe22 Class Usage Examples

Protected Properties

Property Type Description
_arrows Microsoft.Xna.Framework.Graphics.Texture2D
_background Microsoft.Xna.Framework.Graphics.Texture2D
_font Microsoft.Xna.Framework.Graphics.SpriteFont

Public Methods

Method Description
Draw ( GameTime gameTime ) : void
FileDialog ( Backend parent, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, Rectangle displayRect, bool save ) : System
HandleEvent ( bool DownStream, Backend eventID ) : void
OnMouseDown ( int button ) : bool
Pos2Tile ( int x, int y ) : int

Private Methods

Method Description
_BuildList ( ) : void

Method Details

Draw() public method

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

FileDialog() public method

public FileDialog ( Backend parent, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, Rectangle displayRect, bool save ) : System
parent Backend
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
content Microsoft.Xna.Framework.Content.ContentManager
displayRect Microsoft.Xna.Framework.Rectangle
save bool
return System

HandleEvent() public method

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

OnMouseDown() public method

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

Pos2Tile() public method

public Pos2Tile ( int x, int y ) : int
x int
y int
return int

Property Details

_arrows protected_oe property

protected Texture2D,Microsoft.Xna.Framework.Graphics _arrows
return Microsoft.Xna.Framework.Graphics.Texture2D

_background protected_oe property

protected Texture2D,Microsoft.Xna.Framework.Graphics _background
return Microsoft.Xna.Framework.Graphics.Texture2D

_font protected_oe property

protected SpriteFont,Microsoft.Xna.Framework.Graphics _font
return Microsoft.Xna.Framework.Graphics.SpriteFont