Exemplo n.º 1
0
 /// <summary>
 /// Get the coordinates of the movement based on the face origins
 /// </summary>
 /// <param name="fOriging">FaceType origins of the movement</param>
 /// <param name="fDestiny">FaceType destiny</param>
 /// <returns>Returns the coordinate for the new movement</returns>
 private Coordinate GetVariationMovement(CubeFaceType fOriging, CubeFaceType fDestiny)
 {
     int fOr = fOriging.GetHashCode();
     int fDes = fDestiny.GetHashCode();
     return default_moves[fOr, fDes];
 }
 public static Point GetPoint(CubeFaceType face, CubeFaceletType square)
 {
     return positions[face.GetHashCode(), square.GetHashCode()];
 }