Revision 59c20632
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistyKilominx.java | ||
---|---|---|
752 | 752 |
return 0; |
753 | 753 |
} |
754 | 754 |
|
755 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
756 |
|
|
757 |
public int getYearOfInvention(int[] numLayers) |
|
758 |
{ |
|
759 |
switch(numLayers[0]) |
|
760 |
{ |
|
761 |
case 3: return 2008; |
|
762 |
case 5: return 2010; |
|
763 |
} |
|
764 |
return 2008; |
|
765 |
} |
|
766 |
|
|
755 | 767 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
756 | 768 |
|
757 | 769 |
public int getComplexity(int[] numLayers) |
Also available in: Unified diff
Reorg for writing the JSON