/// <summary> /// /// </summary> private void Jump() { this.State = eBossLevel1State.Jump; mRigidBody.AddForce(new Vector2(0f, JumpForceNewtons)); TimeInState = 0; }
/// <summary> /// /// </summary> private void Stop() { this.State = eBossLevel1State.StandStill; TimeInState = 0; }
/// <summary> /// /// </summary> private void Walk() { this.State = eBossLevel1State.Walk; TimeInState = 0; }