Метод | Описание | |
---|---|---|
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 ( |
Метод | Описание | |
---|---|---|
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 | ||
Результат | Microsoft.Xna.Framework |
public Draw ( |
||
gameTime | ||
spriteBatch | ||
Результат | void |
public Update ( |
||
gameTime | ||
mx | int | |
my | int | |
mpressed | bool | |
prev_mpressed | bool | |
Результат | 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 | |
Результат | bool |
public hitImageAlpha ( |
||
rect | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
x | int | |
y | int | |
Результат | bool |