메소드 | 설명 | |
---|---|---|
AutoSizeButton ( string text, Microsoft.Xna.Framework.Content.ContentManager content, InternalActionEnum action, Object args, int centerX, int centreY ) : System |
Creats a Main Menu Button
|
|
Draw ( Microsoft.Xna.Framework.Content.ContentManager content, |
||
HandleClick ( int x, int y, DRObjects &instruction, object &args ) : bool | ||
ReturnLocation ( ) : |
메소드 | 설명 | |
---|---|---|
AutoSizeButton ( ) : System |
public AutoSizeButton ( string text, Microsoft.Xna.Framework.Content.ContentManager content, InternalActionEnum action, Object args, int centerX, int centreY ) : System | ||
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 |
centerX | int | The CENTRE of the button |
centreY | int | The CENTRE of the button |
리턴 | System |
public Draw ( Microsoft.Xna.Framework.Content.ContentManager content, |
||
content | Microsoft.Xna.Framework.Content.ContentManager | |
batch | ||
리턴 | void |
public HandleClick ( int x, int y, DRObjects &instruction, object &args ) : bool | ||
x | int | |
y | int | |
instruction | DRObjects | |
args | object | |
리턴 | bool |