Project

General

Profile

« Previous | Next » 

Revision 36b9ee93

Added by Leszek Koltunski about 3 years ago

Attempt to programmatically catch the 'cube is sometimes not drawn' bug and report it to my server.

View differences:

src/main/java/org/distorted/effects/objectchange/ObjectChangeEffect.java
50 50
      }
51 51
    }
52 52

  
53
  private static int NUM_EFFECTS = Type.values().length;
53
  private static final int NUM_EFFECTS = Type.values().length;
54 54
  private static final int NUM_PHASES  = 2;
55 55
  private static final int FAKE_EFFECT_ID  = -1;
56 56
  private static final Type[] types;
......
68 68

  
69 69
  private EffectController mController;
70 70
  private int mDuration;
71
  private int[] mEffectReturned;
72
  private int[] mCubeEffectNumber, mNodeEffectNumber;
73
  private int[] mEffectFinished;
74
  private boolean[] mPhaseActive;
71
  private final int[] mEffectReturned;
72
  private final int[] mCubeEffectNumber, mNodeEffectNumber;
73
  private final int[] mEffectFinished;
74
  private final boolean[] mPhaseActive;
75 75

  
76 76
  TwistyObject[] mObject;
77 77
  DistortedScreen mScreen;

Also available in: Unified diff