C# Class WaveOculusDemoProject.Components.ScreenplayManager

Inheritance: Behavior
Mostrar archivo Open project: WaveEngine/Samples Class Usage Examples

Public Properties

Property Type Description
CurrentFrameTime double
EndFrame int
FighterList List
Loop bool
StartFrame int
firstUpdate bool
frameActions Action>>.List

Private Properties

Property Type Description
HandleKeys float
StartMusic void

Public Methods

Method Description
FrameEvent ( int frame, System.Action action ) : void

Register a frame event

RegisterFighter ( FighterSetting fighter ) : void
ScreenplayManager ( ) : System

Protected Methods

Method Description
DefaultValues ( ) : void
Initialize ( ) : void
Update ( System.TimeSpan gameTime ) : void

Update the screenplay frame time

Private Methods

Method Description
HandleKeys ( ) : float

Handle keys to change the animation speed

StartMusic ( ) : void

Start scene music

Method Details

DefaultValues() protected method

protected DefaultValues ( ) : void
return void

FrameEvent() public method

Register a frame event
public FrameEvent ( int frame, System.Action action ) : void
frame int The frame
action System.Action The action associated to the frame
return void

Initialize() protected method

protected Initialize ( ) : void
return void

RegisterFighter() public method

public RegisterFighter ( FighterSetting fighter ) : void
fighter FighterSetting
return void

ScreenplayManager() public method

public ScreenplayManager ( ) : System
return System

Update() protected method

Update the screenplay frame time
protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The current frame time.
return void

Property Details

CurrentFrameTime public_oe property

public double CurrentFrameTime
return double

EndFrame public_oe property

public int EndFrame
return int

FighterList public_oe property

public List FighterList
return List

Loop public_oe property

public bool Loop
return bool

StartFrame public_oe property

public int StartFrame
return int

firstUpdate public_oe property

public bool firstUpdate
return bool

frameActions public_oe property

public List> frameActions
return Action>>.List