Example #1
0
    // ------------------------------------------------------------------
    // Desc:
    // ------------------------------------------------------------------

    void Update()
    {
        if (inputListener)
        {
            inputListener.HandleInput();
        }

        if (movementState)
        {
            movementState.Step();
        }

        if (animator)
        {
            HandleAnimation();
        }
    }