Property | Type | Description | |
---|---|---|---|
select | OnSelect |
Method | Description | |
---|---|---|
Button ( int x, int y, Microsoft.Xna.Framework.Graphics.Texture2D up_, Microsoft.Xna.Framework.Graphics.Texture2D down_ ) : Microsoft.Xna.Framework | ||
Collide ( int pointX, int pointY ) : bool | ||
Draw ( |
||
SetPressed ( bool pressed_, bool toggle = true ) : void |
Method | Description | |
---|---|---|
IsPressed ( ) : bool |
public Button ( int x, int y, Microsoft.Xna.Framework.Graphics.Texture2D up_, Microsoft.Xna.Framework.Graphics.Texture2D down_ ) : Microsoft.Xna.Framework | ||
x | int | |
y | int | |
up_ | Microsoft.Xna.Framework.Graphics.Texture2D | |
down_ | Microsoft.Xna.Framework.Graphics.Texture2D | |
return | Microsoft.Xna.Framework |
public Collide ( int pointX, int pointY ) : bool | ||
pointX | int | |
pointY | int | |
return | bool |
public Draw ( |
||
batch | ||
return | void |
public SetPressed ( bool pressed_, bool toggle = true ) : void | ||
pressed_ | bool | |
toggle | bool | |
return | void |