C# Класс Gonzo.VitaboyScreen

Used for rendering Vitaboy elements onto UI surfaces. In practice, these will always be instances of Sim.
Наследование: UIScreen
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AddSim() публичный Метод

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.
Результат void

Draw() публичный Метод

Draws Vitaboy elements onto this VitaboyScreen instance.
public Draw ( ) : void
Результат void

RemoveSim() публичный Метод

Removes an instance of Sim from this instance of VitaboyScreen.
public RemoveSim ( Sim S ) : void
S Shared.Sim The instance of Sim to remove.
Результат void

Update() публичный Метод

Updates all the Vitaboy elements in this VitaboyScreen instance.
public Update ( InputHelper Input, GameTime GTime ) : void
Input InputHelper
GTime Microsoft.Xna.Framework.GameTime
Результат void

VitaboyScreen() публичный Метод

public VitaboyScreen ( ScreenManager Manager, Vector2 ScreenPosition, Vector2 ScreenSize ) : System.Collections.Generic
Manager ScreenManager
ScreenPosition Microsoft.Xna.Framework.Vector2
ScreenSize Microsoft.Xna.Framework.Vector2
Результат System.Collections.Generic