Exemple #1
0
    static void AddPieceType(Vector2Int[] poses, string name)
    {
        Piece threeL1 = new Piece();

        foreach (Vector2Int v in poses)
        {
            threeL1.AddB(v);
        }
        dic.Add(name, threeL1);
        keys.Add(name);
    }