C# Class XNAInterfaceComponents.AbstractComponents.XNAButton

Inheritance: XNAInterfaceComponents.AbstractComponents.ChildComponent, Focusable, MouseClickListener
Afficher le fichier Open project: Wotuu/RTS_XNA_v2 Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

Draw() public méthode

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

OnFocusLost() public méthode

public OnFocusLost ( ) : void
Résultat void

OnFocusReceived() public méthode

public OnFocusReceived ( ) : void
Résultat void

OnMouseClick() public méthode

public OnMouseClick ( MouseEvent m_event ) : void
m_event MouseEvent
Résultat void

OnMouseEnter() public méthode

public OnMouseEnter ( MouseEvent m_event ) : void
m_event MouseEvent
Résultat void

OnMouseExit() public méthode

public OnMouseExit ( MouseEvent m_event ) : void
m_event MouseEvent
Résultat void

OnMouseRelease() public méthode

public OnMouseRelease ( MouseEvent m_event ) : void
m_event MouseEvent
Résultat void

Unload() public méthode

public Unload ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

XNAButton() public méthode

public XNAButton ( ParentComponent parent, Rectangle bounds, String text ) : System
parent ParentComponent
bounds Microsoft.Xna.Framework.Rectangle
text String
Résultat System