Method | Description | |
---|---|---|
Collide ( Vector2 position ) : void | ||
Draw ( ) : void |
Draws the menu entry. This can be overridden to customize the appearance.
|
|
MenuButton ( Microsoft.Xna.Framework.Graphics.Texture2D sprite, bool flip, Vector2 position, |
Constructs a new menu entry with the specified text.
|
|
Update ( |
Updates the menu entry.
|
public MenuButton ( Microsoft.Xna.Framework.Graphics.Texture2D sprite, bool flip, Vector2 position, |
||
sprite | Microsoft.Xna.Framework.Graphics.Texture2D | |
flip | bool | |
position | Vector2 | |
screen | ||
return | System |
public Update ( |
||
gameTime | ||
return | void |