// Token: 0x060006CC RID: 1740 RVA: 0x0002065C File Offset: 0x0001E85C
 public override void FixedUpdate()
 {
     base.FixedUpdate();
     if (base.isAuthority)
     {
         bool flag = base.jumpButtonDown;
         if (JetpackController.FindJetpackController(this.bodyGameObject))
         {
             flag = false;
         }
         this.inputStopwatch = (flag ? (this.inputStopwatch + Time.deltaTime) : 0f);
         if (base.isGrounded)
         {
             this.jumpBoostOk = true;
         }
         else if (this.jumpBoostOk && flag && this.bodyMotor)
         {
             Vector3 velocity = this.bodyMotor.velocity;
             if (velocity.y > 0f)
             {
                 velocity.y *= 2f;
                 this.bodyMotor.velocity = velocity;
                 this.jumpBoostOk        = false;
             }
             EffectManager.instance.SimpleImpactEffect(HeadstompersIdle.jumpEffect, this.bodyGameObject.transform.position, Vector3.up, true);
         }
         if (this.inputStopwatch >= HeadstompersIdle.inputConfirmationDelay && !base.isGrounded)
         {
             this.outer.SetNextState(new HeadstompersCharge());
             return;
         }
     }
 }
    // Use this for initialization
    void Start()
    {
        gc      = GameObject.FindGameObjectWithTag("GameController").GetComponent <GameController> ();
        rb      = GetComponent <Rigidbody2D> ();
        jetpack = GetComponentsInChildren <JetpackController> () [0];

        carriedCoinWeight = 0.0f;
        carriedCoinValue  = 0;

        SetWeight();
    }