Method | Description | |
---|---|---|
Button ( Microsoft.Xna.Framework.Content.ContentManager content, string buttonName, Vector2 buttonPosition ) : System | ||
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, Vector2 buttonPosition ) : System | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
buttonName | string | |
buttonPosition | Vector2 | |
return | System |
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 |