DoopelPonger
Public Types | Public Member Functions | Properties | List of all members
ChangeTimeParameters Class Reference

Parameters to give listeners of the time change event. More...

Inheritance diagram for ChangeTimeParameters:
Inheritance graph
[legend]
Collaboration diagram for ChangeTimeParameters:
Collaboration graph
[legend]

Public Types

enum  ChangeRateEnum { ChangeRateEnum.FAST, ChangeRateEnum.SLOW }
 

Public Member Functions

 ChangeTimeParameters (float targetRate, ChangeRateEnum changeRate)
 

Properties

float TargetRate [get]
 
ChangeRateEnum ChangeRate [get]
 

Additional Inherited Members

- Static Public Attributes inherited from EventParameters
static readonly EventParameters GLOBAL_EVENT_PARAMETER = new EventParameters()
 

Detailed Description

Parameters to give listeners of the time change event.

Member Enumeration Documentation

◆ ChangeRateEnum

Enumerator
FAST 
SLOW 

Constructor & Destructor Documentation

◆ ChangeTimeParameters()

ChangeTimeParameters.ChangeTimeParameters ( float  targetRate,
ChangeRateEnum  changeRate 
)

Property Documentation

◆ ChangeRate

ChangeRateEnum ChangeTimeParameters.ChangeRate
get
Returns
How fast the timescale should change.

◆ TargetRate

float ChangeTimeParameters.TargetRate
get
Returns
the value the timescale should change to.

The documentation for this class was generated from the following file: