Méthode | 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 ( |
Méthode | 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 | ||
Résultat | Microsoft.Xna.Framework |
public Draw ( |
||
gameTime | ||
spriteBatch | ||
Résultat | void |
public Update ( |
||
gameTime | ||
mx | int | |
my | int | |
mpressed | bool | |
prev_mpressed | bool | |
Résultat | 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 | |
Résultat | bool |
public hitImageAlpha ( |
||
rect | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
x | int | |
y | int | |
Résultat | bool |