Method | Description | |
---|---|---|
Draw ( Microsoft.Xna.Framework.Content.ContentManager content, |
||
HandleClick ( int x, int y, DRObjects &instruction, object &args ) : bool | ||
ReturnLocation ( ) : |
||
SystemButton ( string text, Microsoft.Xna.Framework.Content.ContentManager content, InternalActionEnum action, Object args, |
Creats a Main Menu Button
|
public Draw ( Microsoft.Xna.Framework.Content.ContentManager content, |
||
content | Microsoft.Xna.Framework.Content.ContentManager | |
batch | ||
return | void |
public HandleClick ( int x, int y, DRObjects &instruction, object &args ) : bool | ||
x | int | |
y | int | |
instruction | DRObjects | |
args | object | |
return | bool |
public ReturnLocation ( ) : |
||
return |
public SystemButton ( string text, Microsoft.Xna.Framework.Content.ContentManager content, InternalActionEnum action, Object args, |
||
text | string | The text to show |
content | Microsoft.Xna.Framework.Content.ContentManager | The content manager |
action | InternalActionEnum | The action to perform when clicked |
args | Object | Arguments to pass when clicked |
drawArea | The rectangle to draw in | |
return | System |