public void Update()
        {
            Velocity = new Vector2(0, 0);

            ProcessInput();

            switch (Movement)
            {
            case MovementType.Climb:
            {
                UpdateClimb();
                break;
            }

            case MovementType.Idle:
            {
                break;
            }

            case MovementType.RunWalk:
            {
                UpdateRunWalk();
                break;
            }
            }

            AnimationManager.Update();
        }
Exemple #2
0
 public void Update()
 {
     AnimationManager.Update();
 }