C# Class Bug.Display.TextButton

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

Public Methods

Method Description
Draw ( SpriteBatch batch ) : void
TextButton ( int x, int y, Microsoft.Xna.Framework.Graphics.Texture2D up, Microsoft.Xna.Framework.Graphics.Texture2D down, SpriteFont font_, String text_ ) : Microsoft.Xna.Framework

Method Details

Draw() public method

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

TextButton() public method

public TextButton ( int x, int y, Microsoft.Xna.Framework.Graphics.Texture2D up, Microsoft.Xna.Framework.Graphics.Texture2D down, SpriteFont font_, String text_ ) : Microsoft.Xna.Framework
x int
y int
up Microsoft.Xna.Framework.Graphics.Texture2D
down Microsoft.Xna.Framework.Graphics.Texture2D
font_ Microsoft.Xna.Framework.Graphics.SpriteFont
text_ String
return Microsoft.Xna.Framework