public KiloImageProp(KiloImageConfiguration configs) : base(configs) { SetStickerDefs(configs.Scheme, configs.StickerDefs); ImageLength = configs.ImageLength; SetDistances(); ImageSize = new Tuple <double, double>(ImageLength, LongSideDist + ShortSideDist); // Both distance add up to the height of the pentagon Center = new CoordPair(ImageLength / 2, LongSideDist); // LongSideDist is the distance from the top of the image to the center of the pentagon }
public VirtualKilo(KiloImageConfiguration configs) { CleanKilo(); if (configs.Moves != null) { PreformAlg(configs.Moves, false); configs.StickerDefs = getDefs(); } else if (configs.Case != null) { PreformAlg(configs.Moves, false); configs.StickerDefs = getDefs(); } }
public KiloImage(KiloImageConfiguration configs) { Properties = new KiloImageProp(configs); CreatePieces(); }