Esempio n. 1
0
    public void Click()
    {
        Debug.Log("Clicou");
        int dir     = Direction.GetDirection();
        int north   = North.GetDirection();
        int inverse = Invert.GetInverse();

        Player.Move((dir + north + inverse * 2) % 4);
    }