Property | Type | Description | |
---|---|---|---|
OnClick | System.Action |
Method | Description | |
---|---|---|
Button ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 topLeft, Vector2 scale, System.Action onClick, Color color ) : System | ||
Button ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 topLeft, Vector2 scale, System.Action onClick, Color color, |
||
Draw ( |
||
TestPoint ( Point point ) : bool |
public Button ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 topLeft, Vector2 scale, System.Action onClick, Color color ) : System | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
topLeft | Vector2 | |
scale | Vector2 | |
onClick | System.Action | |
color | Color | |
return | System |
public Button ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 topLeft, Vector2 scale, System.Action onClick, Color color, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
topLeft | Vector2 | |
scale | Vector2 | |
onClick | System.Action | |
color | Color | |
font | ||
text | string | |
textColor | Color | |
return | System |
public Draw ( |
||
spriteBatch | ||
return | void |