Project

General

Profile

« Previous | Next » 

Revision 6f3af598

Added by Leszek Koltunski about 2 years ago

Minor.

View differences:

src/main/java/org/distorted/bandaged/BandagedCreatorRenderer.java
61 61
   public static final float BRIGHTNESS = 0.333f;
62 62
   private static final int DURATION = 1000;
63 63

  
64
   static final int COLOR_DEFAULT = 0xffffff55;
65
   static final int COLOR_MARKED  = 0xffff0000;
64
   private static final int COLOR_DEFAULT = 0xffffff55;
65
   private static final int COLOR_MARKED  = 0xffff0000;
66 66

  
67 67
   static final float SCREEN_RATIO = 0.5f;
68 68
   static final float OBJECT_SIZE  = 3.0f;
......
551 551

  
552 552
     return quotient>1.0f;
553 553
     }
554

  
555
///////////////////////////////////////////////////////////////////////////////////////////////////
556

  
557
  public void touchCubit(int index)
558
    {
559
    mCubits[index].setTexture(COLOR_MARKED);
560
    }
561

  
562
///////////////////////////////////////////////////////////////////////////////////////////////////
563

  
564
  public void untouchCubit(int index)
565
    {
566
    mCubits[index].setTexture(COLOR_DEFAULT);
567
    }
554 568
}

Also available in: Unified diff