Exemple #1
0
    private void Move(Location loc)
    {
        int[] startMathPos = { loc.startPos.x, loc.startPos.y, 0 };
        int[] endMathPos   = { loc.endPos.x, loc.endPos.y, 0 };

        actionsToRun.Add(() => movement.requestedMove(startMathPos, endMathPos));
    }