public CubeFace(CubeColor centerColor, ushort size)
        {
            if (size < 2)
            {
                throw new Exception("Invalid cube face size");
            }

            CenterColor = centerColor;
            Size        = size;
            Slots       = new CubeSlot[size, size];

            Initialize();
        }
Exemple #2
0
 public CubeSlot(CubeColor color, CubeSlotType type)
 {
     Color = color;
     Type  = type;
 }