예제 #1
0
 public RubikSide(RubikColor color)
 {
     Faces = new RubikFace[3, 3];
     for (var y = 0; y < 3; y++)
     {
         for (var x = 0; x < 3; x++)
         {
             Faces[x, y] = new RubikFace(color);
         }
     }
 }
예제 #2
0
 public RubikFace(RubikColor color)
 {
     Color = (sbyte)color;
 }