C# 클래스 GrandLarceny.TextButton

상속: Button
파일 보기 프로젝트 열기: melburn/GLhf 1 사용 예제들

공개 메소드들

메소드 설명
TextButton ( Vector2 a_position, string a_text, string a_font ) : System
TextButton ( Vector2 a_position, string a_text, string a_font, Color a_normal, Color a_hover, Color a_pressed, Color a_toggle ) : System
draw ( GameTime a_gameTime, SpriteBatch a_spriteBatch ) : void
invokeClickEvent ( ) : void
setState ( Button a_state ) : void
update ( ) : bool

메소드 상세

TextButton() 공개 메소드

public TextButton ( Vector2 a_position, string a_text, string a_font ) : System
a_position Vector2
a_text string
a_font string
리턴 System

TextButton() 공개 메소드

public TextButton ( Vector2 a_position, string a_text, string a_font, Color a_normal, Color a_hover, Color a_pressed, Color a_toggle ) : System
a_position Vector2
a_text string
a_font string
a_normal Color
a_hover Color
a_pressed Color
a_toggle Color
리턴 System

draw() 공개 메소드

public draw ( GameTime a_gameTime, SpriteBatch a_spriteBatch ) : void
a_gameTime Microsoft.Xna.Framework.GameTime
a_spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

invokeClickEvent() 공개 메소드

public invokeClickEvent ( ) : void
리턴 void

setState() 공개 메소드

public setState ( Button a_state ) : void
a_state Button
리턴 void

update() 공개 메소드

public update ( ) : bool
리턴 bool