C# Class Kappa.gui.interaction.Button

Inheritance: IRenderable, IDynamicObject
显示文件 Open project: EEwing/KappaGame Class Usage Examples

Public Methods

Method Description
Button ( ) : Microsoft.Xna.Framework
Button ( Rectangle bounds_ ) : Microsoft.Xna.Framework
Button ( Vector2 loc ) : Microsoft.Xna.Framework
HasTexture ( ) : bool
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
Render ( SpriteBatch spriteBatch ) : void
Update ( float dt ) : void

Method Details

Button() public method

public Button ( ) : Microsoft.Xna.Framework
return Microsoft.Xna.Framework

Button() public method

public Button ( Rectangle bounds_ ) : Microsoft.Xna.Framework
bounds_ Microsoft.Xna.Framework.Rectangle
return Microsoft.Xna.Framework

Button() public method

public Button ( Vector2 loc ) : Microsoft.Xna.Framework
loc Vector2
return Microsoft.Xna.Framework

HasTexture() public method

public HasTexture ( ) : bool
return bool

LoadContent() public method

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
return void

Render() public method

public Render ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Update() public method

public Update ( float dt ) : void
dt float
return void