C# Class Gonzo.VitaboyScreen

Used for rendering Vitaboy elements onto UI surfaces. In practice, these will always be instances of Sim.
Inheritance: UIScreen
Afficher le fichier Open project: Afr0Games/Project-Dollhouse Class Usage Examples

Méthodes publiques

Méthode Description
AddSim ( Sim S ) : void

Adds an instance of Sin to this instance of VitaboyScreen so it can be drawn and updated.

Draw ( ) : void

Draws Vitaboy elements onto this VitaboyScreen instance.

RemoveSim ( Sim S ) : void

Removes an instance of Sim from this instance of VitaboyScreen.

Update ( InputHelper Input, GameTime GTime ) : void

Updates all the Vitaboy elements in this VitaboyScreen instance.

VitaboyScreen ( ScreenManager Manager, Vector2 ScreenPosition, Vector2 ScreenSize ) : System.Collections.Generic

Method Details

AddSim() public méthode

Adds an instance of Sin to this instance of VitaboyScreen so it can be drawn and updated.
public AddSim ( Sim S ) : void
S Shared.Sim The instance to add.
Résultat void

Draw() public méthode

Draws Vitaboy elements onto this VitaboyScreen instance.
public Draw ( ) : void
Résultat void

RemoveSim() public méthode

Removes an instance of Sim from this instance of VitaboyScreen.
public RemoveSim ( Sim S ) : void
S Shared.Sim The instance of Sim to remove.
Résultat void

Update() public méthode

Updates all the Vitaboy elements in this VitaboyScreen instance.
public Update ( InputHelper Input, GameTime GTime ) : void
Input InputHelper
GTime Microsoft.Xna.Framework.GameTime
Résultat void

VitaboyScreen() public méthode

public VitaboyScreen ( ScreenManager Manager, Vector2 ScreenPosition, Vector2 ScreenSize ) : System.Collections.Generic
Manager ScreenManager
ScreenPosition Microsoft.Xna.Framework.Vector2
ScreenSize Microsoft.Xna.Framework.Vector2
Résultat System.Collections.Generic