C# 클래스 XNAInterfaceComponents.AbstractComponents.XNAButton

상속: XNAInterfaceComponents.AbstractComponents.ChildComponent, Focusable, MouseClickListener
파일 보기 프로젝트 열기: Wotuu/RTS_XNA_v2 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( SpriteBatch sb ) : void

Draws this button with a Z.

OnFocusLost ( ) : void
OnFocusReceived ( ) : void
OnMouseClick ( MouseEvent m_event ) : void
OnMouseEnter ( MouseEvent m_event ) : void
OnMouseExit ( MouseEvent m_event ) : void
OnMouseRelease ( MouseEvent m_event ) : void
Unload ( ) : void
Update ( ) : void
XNAButton ( ParentComponent parent, Rectangle bounds, String text ) : System

메소드 상세

Draw() 공개 메소드

Draws this button with a Z.
public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch The spritebatch to draw on.
리턴 void

OnFocusLost() 공개 메소드

public OnFocusLost ( ) : void
리턴 void

OnFocusReceived() 공개 메소드

public OnFocusReceived ( ) : void
리턴 void

OnMouseClick() 공개 메소드

public OnMouseClick ( MouseEvent m_event ) : void
m_event MouseEvent
리턴 void

OnMouseEnter() 공개 메소드

public OnMouseEnter ( MouseEvent m_event ) : void
m_event MouseEvent
리턴 void

OnMouseExit() 공개 메소드

public OnMouseExit ( MouseEvent m_event ) : void
m_event MouseEvent
리턴 void

OnMouseRelease() 공개 메소드

public OnMouseRelease ( MouseEvent m_event ) : void
m_event MouseEvent
리턴 void

Unload() 공개 메소드

public Unload ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

XNAButton() 공개 메소드

public XNAButton ( ParentComponent parent, Rectangle bounds, String text ) : System
parent ParentComponent
bounds Microsoft.Xna.Framework.Rectangle
text String
리턴 System