Project

General

Profile

« Previous | Next » 

Revision 99c2e327

Added by Leszek Koltunski about 2 months ago

Color unification complete: 24 standard colors.

View differences:

src/main/java/org/distorted/solvers/SolverDino4.java
60 60
      {
61 61
      int color = hexColors[i];
62 62

  
63
      if( color == ShapeColors.COLOR_WHITE  ) indW = i;
64
      if( color == ShapeColors.COLOR_YELLOW ) indY = i;
65
      if( color == ShapeColors.COLOR_RED    ) indR = i;
66
      if( color == ShapeColors.COLOR_BLUE   ) indB = i;
63
      if( color == ShapeColors.COLOR_WHITE) indW = i;
64
      if( color == ShapeColors.COLOR_YELLOW) indY = i;
65
      if( color == ShapeColors.COLOR_RED) indR = i;
66
      if( color == ShapeColors.COLOR_BLUE) indB = i;
67 67
      }
68 68

  
69 69
    for(int i=0; i<12; i++)

Also available in: Unified diff