Project

General

Profile

« Previous | Next » 

Revision 4c6cbfa2

Added by Leszek Koltunski 12 months ago

clean up TwistyObject's API

View differences:

src/main/java/org/distorted/config/ConfigObjectLibInterface.java
27 27
  public void onObjectCreated(long time) { }
28 28
  public void onReplaceModeDown(int cubit, int face) { }
29 29
  public void onReplaceModeUp() { }
30
  public void onFinishRotation(int axis, int row, int angle) { }
30
  public void onRemoveRotation(int axis, int row, int angle) { }
31 31
  public void failedToDrag() { }
32 32
  public void reportJSONError(String error, int ordinal) { }
33 33

  
src/main/java/org/distorted/patternui/PatternObjectLibInterface.java
24 24
{
25 25
  PatternObjectLibInterface(PatternActivity act) { }
26 26
  public void onScrambleEffectFinished() { }
27
  public void onFinishRotation(int axis, int row, int angle) { }
27
  public void onRemoveRotation(int axis, int row, int angle) { }
28 28
  public void onBeginRotation() { }
29 29
  public void failedToDrag() { }
30 30
  public void onSolved() { }
src/main/java/org/distorted/playui/PlayLibInterface.java
220 220

  
221 221
///////////////////////////////////////////////////////////////////////////////////////////////////
222 222

  
223
  public void onFinishRotation(int axis, int row, int angle)
223
  public void onRemoveRotation(int axis, int row, int angle)
224 224
    {
225 225
    mNumRotations++;
226 226
    PlayActivity act = mAct.get();
src/main/java/org/distorted/purchase/PurchaseObjectLibInterface.java
25 25
  public void onObjectCreated(long time) { }
26 26
  public void onReplaceModeDown(int cubit, int face) { }
27 27
  public void onReplaceModeUp() { }
28
  public void onFinishRotation(int axis, int row, int angle) { }
28
  public void onRemoveRotation(int axis, int row, int angle) { }
29 29
  public void failedToDrag() { }
30 30
  public void reportJSONError(String error, int ordinal) { }
31 31
  public void reportBlockProblem(int type, int place, long pause, long resume, long time) { }
src/main/java/org/distorted/solverui/SolverObjectLibInterface.java
40 40
///////////////////////////////////////////////////////////////////////////////////////////////////
41 41

  
42 42
  public void onScrambleEffectFinished() { }
43
  public void onFinishRotation(int axis, int row, int angle) { }
43
  public void onRemoveRotation(int axis, int row, int angle) { }
44 44
  public void onBeginRotation() { }
45 45
  public void failedToDrag() { }
46 46
  public void onSolved() { }
src/main/java/org/distorted/tutorials/TutorialObjectLibInterface.java
141 141

  
142 142
///////////////////////////////////////////////////////////////////////////////////////////////////
143 143

  
144
  public void onFinishRotation(int axis, int row, int angle)
144
  public void onRemoveRotation(int axis, int row, int angle)
145 145
     {
146 146
     TutorialActivity act = mAct.get();
147 147
     TutorialScreen state = act.getState();

Also available in: Unified diff