C# Class personal_training_martial_arts.Core.Button

Afficher le fichier Open project: joseruizjimenez/personal-training-martial-arts Class Usage Examples

Méthodes publiques

Свойство Type Description
name string
rectangle Microsoft.Xna.Framework.Rectangle
state BState

Méthodes publiques

Méthode Description
Button ( String name, int x, int y, int width, int height ) : System
justPushed ( ) : System.Boolean
updateState ( ) : BState

Private Methods

Méthode Description
hit_button ( Rectangle button, int mx, int my ) : System.Boolean

Method Details

Button() public méthode

public Button ( String name, int x, int y, int width, int height ) : System
name String
x int
y int
width int
height int
Résultat System

justPushed() public méthode

public justPushed ( ) : System.Boolean
Résultat System.Boolean

updateState() public méthode

public updateState ( ) : BState
Résultat BState

Property Details

name public_oe property

public string name
Résultat string

rectangle public_oe property

public Rectangle,Microsoft.Xna.Framework rectangle
Résultat Microsoft.Xna.Framework.Rectangle

state public_oe property

public BState state
Résultat BState