C# Class CrewChiefV3.Events.PushNow

Inheritance: AbstractEvent
Mostrar archivo Open project: mrbelowski/r3e_crewchief_v3

Public Methods

Method Description
PushNow ( AudioPlayer audioPlayer ) : System
clearState ( ) : void

Protected Methods

Method Description
triggerInternal ( GameStateData previousGameState, GameStateData currentGameState ) : void

Private Methods

Method Description
checkGaps ( GameStateData currentGameState, int numLapsLeft, System.Boolean checkPushToGain, System.Boolean checkPushToHold ) : System.Boolean
getOpponentBestLap ( int opponentPosition, int lapsToCheck, GameStateData gameState ) : float
isOpponentApproachingPitExit ( GameStateData currentGameState ) : System.Boolean

Method Details

PushNow() public method

public PushNow ( AudioPlayer audioPlayer ) : System
audioPlayer AudioPlayer
return System

clearState() public method

public clearState ( ) : void
return void

triggerInternal() protected method

protected triggerInternal ( GameStateData previousGameState, GameStateData currentGameState ) : void
previousGameState CrewChiefV3.GameState.GameStateData
currentGameState CrewChiefV3.GameState.GameStateData
return void