Exemple #1
0
        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
        }
Exemple #2
0
 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();
     }
 }
Exemple #3
0
 public KiloImage(KiloImageConfiguration configs)
 {
     Properties = new KiloImageProp(configs);
     CreatePieces();
 }