예제 #1
0
 public void Move()
 {
     if (isHooked)
     {
         mover.Move(col);
     }
 }
예제 #2
0
    void Update()
    {
        if (StageManager.Instance.GameState == StageManager.EState.Play)
        {
            KeyBoardInput();

            if (CurrentDir != Direction.Empty && !StageManager.Instance.IsHighlightTime)
            {
                moveHandler.Move();
            }
        }
    }
예제 #3
0
    void Update()
    {
        if (StageManager.Instance.GameState == StageManager.EState.Play)
        {
            if (currentState == EState.Prepare)
            {
                return;
            }

            if (!StageManager.Instance.IsHighlightTime || currentState == EState.GoHome)
            {
                moveHandler.Move();
            }
        }
    }
예제 #4
0
 private void Move(float dir)
 {
     puppetMove.Move(new Vector2(dir, 0));
 }