Esempio n. 1
0
    public void DisplayChoices(int roll)
    {
        List <List <Space> > paths = MapUtil.FindPaths(roll, app.ActivePlayer);

        pathOptions = new SortedDictionary <string, List <Space> >();
        List <Vector3> toHighlight = new List <Vector3>();
        Vector3        pos;

        foreach (List <Space> path in paths)
        {
            pos = path[path.Count - 1].position;
            toHighlight.Add(pos);
            pathOptions.Add(pos.x + "_" + pos.z, path);
        }
        spaceVisuals.HighlightSpaces(toHighlight);
        gameCamera.ZoomOutToMap();
        gameCamera.Locked = false;
        choosingSpace     = true;
    }