C# Class XnaGUILib.XGMiniMap

Inheritance: XGControl
显示文件 Open project: GalacticSoft/Azmyth Class Usage Examples

Protected Properties

Property Type Description
_top Microsoft.Xna.Framework.Rectangle

Public Methods

Method Description
CenterTile ( int x, int y ) : void
Draw ( float frameTime ) : void
Update ( GameTime gameTime ) : void
XGMiniMap ( Rectangle rectangle, bool canFocus ) : System

Protected Methods

Method Description
GetFocus ( ) : void

Private Methods

Method Description
Init ( ) : void
XGMiniMap ( Rectangle rectangle, World world, int tileSize ) : System

Method Details

CenterTile() public method

public CenterTile ( int x, int y ) : void
x int
y int
return void

Draw() public method

public Draw ( float frameTime ) : void
frameTime float
return void

GetFocus() protected method

protected GetFocus ( ) : void
return void

Update() public method

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

XGMiniMap() public method

public XGMiniMap ( Rectangle rectangle, bool canFocus ) : System
rectangle Microsoft.Xna.Framework.Rectangle
canFocus bool
return System

Property Details

_top protected_oe property

protected Rectangle,Microsoft.Xna.Framework _top
return Microsoft.Xna.Framework.Rectangle