Ejemplo n.º 1
0
 private void BoostListener(PlayerBoostEvent boostEvent)
 {
     _isPlayerBoosted = boostEvent.IsBoosted;
 }
Ejemplo n.º 2
0
 private void BoostListener(PlayerBoostEvent e)
 {
     //setting engine flames depending on if player is boosted or not
     _engineFlame.startLifetime = e.IsBoosted ? _boostedFlameValue : _simpleFlameValue;
 }
Ejemplo n.º 3
0
 private void ChangeSmoothParameters(PlayerBoostEvent e)
 {
     _isShipBoosted = e.IsBoosted;
 }