프로퍼티 | 타입 | 설명 | |
---|---|---|---|
m_bounds | |||
m_currentState | State | ||
m_isFocused | bool | ||
m_isPressed | bool | ||
m_isToggled | bool | ||
m_isVisible | bool | ||
m_text | GrandLarceny.Text |
메소드 | 설명 | |
---|---|---|
Button ( Vector2 a_position ) : System | ||
Button ( Vector2 a_position, string a_normal, string a_hover, string a_pressed, string a_toggle ) : System | ||
Button ( string a_buttonTexture, Vector2 a_position ) : System | ||
Button ( string a_buttonTexture, Vector2 a_position, string a_buttonText, string a_font, Color a_color, Vector2 a_offset ) : System | ||
draw ( |
||
getBox ( ) : |
||
getIntState ( ) : int | ||
getPosition ( ) : GrandLarceny.Position | ||
getSize ( ) : Vector2 | ||
getState ( ) : State | ||
getText ( ) : string | ||
hasEvent ( ) : bool | ||
invokeClickEvent ( ) : void | ||
isButtonPressed ( ) : bool | ||
isVisible ( ) : bool | ||
kill ( ) : void | ||
loadContent ( ) : void | ||
move ( Vector2 a_moveLength ) : void | ||
playDownSound ( ) : void | ||
playUpSound ( ) : void | ||
setColor ( Color a_color ) : void | ||
setDownSound ( string a_name ) : void | ||
setHotkey ( Keys a_key, clickDelegate a_method ) : void | ||
setLayer ( float a_layer ) : void | ||
setPosition ( Vector2 a_position ) : void | ||
setState ( State a_state ) : void | ||
setState ( int a_state ) : void | ||
setText ( String a_string ) : void | ||
setText ( string a_string, Vector2 a_offset ) : void | ||
setUpSound ( string a_name ) : void | ||
setVisible ( bool a_visible ) : void | ||
update ( ) : bool | ||
updateHitbox ( ) : void |
메소드 | 설명 | |
---|---|---|
hotkeyPressed ( ) : bool | ||
setHoverTexture ( Microsoft.Xna.Framework.Graphics.Texture2D a_texture ) : void | ||
setNormalTexture ( Microsoft.Xna.Framework.Graphics.Texture2D a_texture ) : void | ||
setPressedTexture ( Microsoft.Xna.Framework.Graphics.Texture2D a_texture ) : void | ||
setSize ( Vector2 a_size ) : void | ||
setToggleTexture ( Microsoft.Xna.Framework.Graphics.Texture2D a_texture ) : void |
public Button ( Vector2 a_position, string a_normal, string a_hover, string a_pressed, string a_toggle ) : System | ||
a_position | Vector2 | |
a_normal | string | |
a_hover | string | |
a_pressed | string | |
a_toggle | string | |
리턴 | System |
public Button ( string a_buttonTexture, Vector2 a_position ) : System | ||
a_buttonTexture | string | |
a_position | Vector2 | |
리턴 | System |
public Button ( string a_buttonTexture, Vector2 a_position, string a_buttonText, string a_font, Color a_color, Vector2 a_offset ) : System | ||
a_buttonTexture | string | |
a_position | Vector2 | |
a_buttonText | string | |
a_font | string | |
a_color | Color | |
a_offset | Vector2 | |
리턴 | System |
public draw ( |
||
a_gameTime | ||
a_spriteBatch | ||
리턴 | void |
public setHotkey ( Keys a_key, clickDelegate a_method ) : void | ||
a_key | Keys | |
a_method | clickDelegate | |
리턴 | void |
public setText ( string a_string, Vector2 a_offset ) : void | ||
a_string | string | |
a_offset | Vector2 | |
리턴 | void |
protected Rectangle,Microsoft.Xna.Framework m_bounds | ||
리턴 |