C# Class GameEntities.CutSceneManager

Inheritance: MapGeneralObject
显示文件 Open project: DarrenHassan/GDM4242-GroupD Class Usage Examples

Private Properties

Property Type Description
FadeIn void
FadeInOut void
FadeOut void
GetCameraCurveInterpolatedTime float
PlayObjectAnimation void
PlaySound void
ResetCamera void
SetCamera void
SetMessage void
TickFade void
TickMessage void

Public Methods

Method Description
CutSceneManager ( ) : System
GetCamera ( Vec3 &position, Vec3 &forward, Vec3 &up, Degree &fov ) : bool
GetFadeCoefficient ( ) : float
GetMessage ( string &text, ColorValue &color ) : bool

Protected Methods

Method Description
OnDestroy ( ) : void

Overridden from Engine.EntitySystem.Entity.OnDestroy().

OnPostCreate ( bool loaded ) : void

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).

OnTick ( ) : void

Overridden from Engine.EntitySystem.Entity.OnTick().

Private Methods

Method Description
FadeIn ( float time ) : void
FadeInOut ( float timeIn, float timeOut ) : void
FadeOut ( float time ) : void
GetCameraCurveInterpolatedTime ( ) : float
PlayObjectAnimation ( MapObject obj, string animationName ) : void
PlaySound ( string name ) : void
ResetCamera ( ) : void
SetCamera ( MapObject cameraOrCameraCurve ) : void
SetMessage ( string text, float time, ColorValue color ) : void
TickFade ( ) : void
TickMessage ( ) : void

Method Details

CutSceneManager() public method

public CutSceneManager ( ) : System
return System

GetCamera() public method

public GetCamera ( Vec3 &position, Vec3 &forward, Vec3 &up, Degree &fov ) : bool
position Vec3
forward Vec3
up Vec3
fov Degree
return bool

GetFadeCoefficient() public method

public GetFadeCoefficient ( ) : float
return float

GetMessage() public method

public GetMessage ( string &text, ColorValue &color ) : bool
text string
color ColorValue
return bool

OnDestroy() protected method

Overridden from Engine.EntitySystem.Entity.OnDestroy().
protected OnDestroy ( ) : void
return void

OnPostCreate() protected method

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).
protected OnPostCreate ( bool loaded ) : void
loaded bool
return void

OnTick() protected method

Overridden from Engine.EntitySystem.Entity.OnTick().
protected OnTick ( ) : void
return void