C# Class FarseerPhysics.Samples.ScreenSystem.OptionEntry

Helper class represents a single entry in a OptionScreen.
Afficher le fichier Open project: tinco/Farseer-Physics

Méthodes publiques

Méthode Description
InitializePosition ( Vector2 target ) : void
OptionEntry ( string text, bool isChecked ) : System

Constructs a new option entry with the specified text.

Switch ( ) : void
Update ( bool isHovered, GameTime gameTime ) : void

Updates the menu entry.

Method Details

InitializePosition() public méthode

public InitializePosition ( Vector2 target ) : void
target Vector2
Résultat void

OptionEntry() public méthode

Constructs a new option entry with the specified text.
public OptionEntry ( string text, bool isChecked ) : System
text string
isChecked bool
Résultat System

Switch() public méthode

public Switch ( ) : void
Résultat void

Update() public méthode

Updates the menu entry.
public Update ( bool isHovered, GameTime gameTime ) : void
isHovered bool
gameTime Microsoft.Xna.Framework.GameTime
Résultat void