コード例 #1
0
    public List <Tile> CalculateAdamPath()
    {
        var pointedPath = GetPointedTile();

        if (_adamMoveTargets.Contains(pointedPath))
        {
            return(GridUtilities.CalculatePath(_tiles, adam.currentTile, GetPointedTile()));
        }
        else
        {
            return(GridUtilities.EmptyTileList);
        }
    }