C# Class Bug.Display.Label

Inheritance: UiElement
Show file Open project: Projectfights/Fight-insect Class Usage Examples

Public Methods

Method Description
Collide ( int pointX, int pointY ) : bool
Draw ( SpriteBatch batch ) : void
GetDim ( ) : Vector2
Label ( int x, int y, SpriteFont font_, String text_ ) : Microsoft.Xna.Framework

Method Details

Collide() public method

public Collide ( int pointX, int pointY ) : bool
pointX int
pointY int
return bool

Draw() public method

public Draw ( SpriteBatch batch ) : void
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

GetDim() public method

public GetDim ( ) : Vector2
return Vector2

Label() public method

public Label ( int x, int y, SpriteFont font_, String text_ ) : Microsoft.Xna.Framework
x int
y int
font_ Microsoft.Xna.Framework.Graphics.SpriteFont
text_ String
return Microsoft.Xna.Framework