C# Class CrewChiefV3.Events.PushNow

Inheritance: AbstractEvent
Afficher le fichier Open project: mrbelowski/r3e_crewchief_v3

Méthodes publiques

Méthode Description
PushNow ( AudioPlayer audioPlayer ) : System
clearState ( ) : void

Méthodes protégées

Méthode Description
triggerInternal ( GameStateData previousGameState, GameStateData currentGameState ) : void

Private Methods

Méthode 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 méthode

public PushNow ( AudioPlayer audioPlayer ) : System
audioPlayer AudioPlayer
Résultat System

clearState() public méthode

public clearState ( ) : void
Résultat void

triggerInternal() protected méthode

protected triggerInternal ( GameStateData previousGameState, GameStateData currentGameState ) : void
previousGameState CrewChiefV3.GameState.GameStateData
currentGameState CrewChiefV3.GameState.GameStateData
Résultat void