Property | Type | Description | |
---|---|---|---|
isEnabled | bool | ||
nowButton | Sprite | ||
spMoveOff | Sprite | ||
spMoveOn | Sprite | ||
spPressed | Sprite | ||
spPressing | Sprite |
Method | Description | |
---|---|---|
Button ( Sprite offMouse, Sprite onMouse, Sprite onPush, Sprite offPush, Microsoft.Xna.Framework.Game game ) : System | ||
SimpleButton ( Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, float depth, Microsoft.Xna.Framework.Game game ) : |
||
Update ( |
||
mouseDetection ( |
public Button ( Sprite offMouse, Sprite onMouse, Sprite onPush, Sprite offPush, Microsoft.Xna.Framework.Game game ) : System | ||
offMouse | Sprite | |
onMouse | Sprite | |
onPush | Sprite | |
offPush | Sprite | |
game | Microsoft.Xna.Framework.Game | |
return | System |
public static SimpleButton ( Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, float depth, Microsoft.Xna.Framework.Game game ) : |
||
position | Vector2 | |
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
depth | float | |
game | Microsoft.Xna.Framework.Game | |
return |
public Update ( |
||
gameTime | ||
return | void |
public mouseDetection ( |
||
gameTime | ||
return | void |