Method | Description | |
---|---|---|
Button ( Microsoft.Xna.Framework.Content.ContentManager content, string buttonName, |
||
Draw ( |
||
LoadContent ( ) : void | ||
Update ( |
||
hitImage ( float tx, float ty, Microsoft.Xna.Framework.Graphics.Texture2D texture, int x, int y ) : bool | ||
hitImageAlpha ( |
Method | Description | |
---|---|---|
hitImageAlpha ( float tx, float ty, Microsoft.Xna.Framework.Graphics.Texture2D texture, int x, int y ) : bool |
public Button ( Microsoft.Xna.Framework.Content.ContentManager content, string buttonName, |
||
content | Microsoft.Xna.Framework.Content.ContentManager | |
buttonName | string | |
buttonPosition | ||
return | Microsoft.Xna.Framework |
public Draw ( |
||
gameTime | ||
spriteBatch | ||
return | void |
public Update ( |
||
gameTime | ||
mx | int | |
my | int | |
mpressed | bool | |
prev_mpressed | bool | |
return | bool |
public hitImage ( float tx, float ty, Microsoft.Xna.Framework.Graphics.Texture2D texture, int x, int y ) : bool | ||
tx | float | |
ty | float | |
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
x | int | |
y | int | |
return | bool |
public hitImageAlpha ( |
||
rect | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
x | int | |
y | int | |
return | bool |