Ejemplo n.º 1
0
 public override void UpdatePlayerRotation(ICameraMotorInput input, ICameraMotorState state, PlayerEntity player)
 {
 }
Ejemplo n.º 2
0
 public override void CalcOutput(PlayerEntity player, ICameraMotorInput input, ICameraMotorState state, SubCameraMotorState subState,
                                 DummyCameraMotorOutput output, ICameraNewMotor last, int clientTime)
 {
 }
Ejemplo n.º 3
0
 public override void PreProcessInput(PlayerEntity player, ICameraMotorInput input, ICameraMotorState state)
 {
 }
Ejemplo n.º 4
0
 public bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(input.CurrentPostureState == PostureInConfig.Climb);
 }
Ejemplo n.º 5
0
 public override bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(true);
 }
Ejemplo n.º 6
0
 public bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(input.ActionState == ActionInConfig.Gliding);
 }
Ejemplo n.º 7
0
 public bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(input.ActionState == ActionInConfig.Parachuting && !input.IsParachuteAttached);
 }
Ejemplo n.º 8
0
 public bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(input.NextPostureState == PostureInConfig.Dying ||
            input.NextPostureState == PostureInConfig.DyingTransition);
 }
Ejemplo n.º 9
0
 public bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(input.IsDead);
 }
Ejemplo n.º 10
0
 public bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(input.NextPostureState == PostureInConfig.Prone ||
            input.NextPostureState == PostureInConfig.ProneTransit);
 }
Ejemplo n.º 11
0
 public bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(input.NextPostureState == PostureInConfig.Swim || input.NextPostureState == PostureInConfig.Dive);
 }
Ejemplo n.º 12
0
 public override void PreProcessInput(PlayerEntity player, ICameraMotorInput input, ICameraMotorState state)
 {
     UpdatePlayerRotation(input, state, player);
 }
Ejemplo n.º 13
0
 public override bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(_active.IsActive(input, state));
 }
Ejemplo n.º 14
0
 public bool IsActive(ICameraMotorInput input, ICameraMotorState state)
 {
     return(input.ActionKeepState == ActionKeepInConfig.Rescue);
 }
Ejemplo n.º 15
0
 public override void CalcOutput(PlayerEntity player, ICameraMotorInput input, ICameraMotorState state, SubCameraMotorState subState,
                                 DummyCameraMotorOutput output, ICameraNewMotor last, int clientTime)
 {
     _finalRotation = _config.Roatation;
     base.CalcOutput(player, input, state, subState, output, last, clientTime);
 }
Ejemplo n.º 16
0
 private bool CanChangeViewMotor(ICameraMotorInput input)
 {
     return(input.ChangeCamera);
 }