C# Class Vtj.Contest.Race.RaceLevel

Inheritance: Vtj.Gaming.Scene
Show file Open project: Ventajou/Space-Dinosaurs Class Usage Examples

Public Properties

Property Type Description
CarSystem CarSystem
Curve float
Curves float[]
DistanceTable float[]
Position float
RoadLength int
Shift float
Shifts float[]
Speed float
Status RaceStatus
TimeLeft float

Public Methods

Method Description
Crash ( ) : void
Dispose ( ) : void
RaceLevel ( Game game, bool practice, int length ) : System

Protected Methods

Method Description
Init ( ) : void
KeyDown ( System.Html.ElementEvent e ) : void
PauseScene ( ) : void
PreUpdate ( System.Html.Media.Graphics.CanvasContext2D context ) : void
ResumeScene ( ) : void
Update ( System.Html.Media.Graphics.CanvasContext2D context ) : void

Method Details

Crash() public method

public Crash ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Init() protected method

protected Init ( ) : void
return void

KeyDown() protected method

protected KeyDown ( System.Html.ElementEvent e ) : void
e System.Html.ElementEvent
return void

PauseScene() protected method

protected PauseScene ( ) : void
return void

PreUpdate() protected method

protected PreUpdate ( System.Html.Media.Graphics.CanvasContext2D context ) : void
context System.Html.Media.Graphics.CanvasContext2D
return void

RaceLevel() public method

public RaceLevel ( Game game, bool practice, int length ) : System
game Vtj.Gaming.Game
practice bool
length int
return System

ResumeScene() protected method

protected ResumeScene ( ) : void
return void

Update() protected method

protected Update ( System.Html.Media.Graphics.CanvasContext2D context ) : void
context System.Html.Media.Graphics.CanvasContext2D
return void

Property Details

CarSystem public property

public CarSystem,Vtj.Contest.Race CarSystem
return CarSystem

Curve public property

public float Curve
return float

Curves public property

public float[] Curves
return float[]

DistanceTable public property

public float[] DistanceTable
return float[]

Position public property

public float Position
return float

RoadLength public property

public int RoadLength
return int

Shift public property

public float Shift
return float

Shifts public property

public float[] Shifts
return float[]

Speed public property

public float Speed
return float

Status public property

public RaceStatus Status
return RaceStatus

TimeLeft public property

public float TimeLeft
return float