Project

General

Profile

« Previous | Next » 

Revision 59c20632

Added by Leszek Koltunski over 2 years ago

Reorg for writing the JSON

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyMegaminx.java
654 654
    return 0;
655 655
    }
656 656

  
657
///////////////////////////////////////////////////////////////////////////////////////////////////
658

  
659
  public int getYearOfInvention(int[] numLayers)
660
    {
661
    switch(numLayers[0])
662
      {
663
      case 3: return 1982;
664
      case 5: return 2006;
665
      }
666
    return 1982;
667
    }
668

  
657 669
///////////////////////////////////////////////////////////////////////////////////////////////////
658 670

  
659 671
  public int getComplexity(int[] numLayers)

Also available in: Unified diff