C# 클래스 Gonzo.VitaboyScreen

Used for rendering Vitaboy elements onto UI surfaces. In practice, these will always be instances of Sim.
상속: UIScreen
파일 보기 프로젝트 열기: Afr0Games/Project-Dollhouse 1 사용 예제들

공개 메소드들

메소드 설명
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