Property | Type | Description | |
---|---|---|---|
rectangle | |||
state | BState |
Method | Description | |
---|---|---|
Button ( Object texture, int x, int y ) : System | ||
Button ( Object texture, int x, int y, float scale ) : System | ||
justPushed ( ) : System.Boolean | ||
updateState ( ) : BState |
Method | Description | |
---|---|---|
onDraw ( |
||
onLoad ( Microsoft.Xna.Framework.Game game ) : void | ||
onUpdate ( |
Method | Description | |
---|---|---|
hit_button ( |
public Button ( Object texture, int x, int y ) : System | ||
texture | Object | |
x | int | |
y | int | |
return | System |
public Button ( Object texture, int x, int y, float scale ) : System | ||
texture | Object | |
x | int | |
y | int | |
scale | float | |
return | System |
protected onDraw ( |
||
spriteBatch | ||
return | void |
protected onLoad ( Microsoft.Xna.Framework.Game game ) : void | ||
game | Microsoft.Xna.Framework.Game | |
return | void |
protected onUpdate ( |
||
gameTime | ||
return | void |
public Rectangle,Microsoft.Xna.Framework rectangle | ||
return |