public void UpdateShotAnimationDataWithinCooldown(UpdateEvent evt, ShaftShotAnimationCooldownStateNode state, [JoinByTank] ReadyShaftShotAnimationNode weapon) { weapon.shaftShotAnimation.UpdateShotCooldownAnimation(evt.DeltaTime); }
public void StopCooldown(ShaftShotAnimationCooldownEndEvent evt, ReadyShaftShotAnimationNode weapon, [JoinByTank] ActiveTankNode tank) { weapon.shaftShotAnimationEsm.Esm.ChangeState <ShaftShotAnimationStates.ShaftShotAnimationIdleState>(); }
public void StopShaftShotAnimtionEffect(NodeRemoveEvent evt, ActiveTankNode tank, [JoinByTank] ReadyShaftShotAnimationNode weapon) { weapon.shaftShotAnimationEsm.Esm.ChangeState <ShaftShotAnimationStates.ShaftShotAnimationIdleState>(); }
public void PlayShot(BaseShotEvent evt, ReadyShaftShotAnimationNode weapon, [JoinByTank] ActiveTankNode tank) { weapon.shaftShotAnimation.PlayShot(); weapon.shaftShotAnimationEsm.Esm.ChangeState <ShaftShotAnimationStates.ShaftShotAnimationBounceState>(); }