C# Class Gonzo.VitaboyScreen

Used for rendering Vitaboy elements onto UI surfaces. In practice, these will always be instances of Sim.
Inheritance: UIScreen
ファイルを表示 Open project: Afr0Games/Project-Dollhouse Class Usage Examples

Public Methods

Method 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 method

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.
return void

Draw() public method

Draws Vitaboy elements onto this VitaboyScreen instance.
public Draw ( ) : void
return void

RemoveSim() public method

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

Update() public method

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

VitaboyScreen() public method

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