Project

General

Profile

« Previous | Next » 

Revision c65a5efe

Added by Leszek Koltunski over 2 years ago

Further simplifications.

View differences:

src/main/java/org/distorted/helpers/MovesController.java
26 26
import android.widget.ImageButton;
27 27
import android.widget.LinearLayout;
28 28

  
29
import org.distorted.objectlib.helpers.BlockController;
30 29
import org.distorted.objectlib.helpers.MovesFinished;
31 30
import org.distorted.objectlib.main.ObjectControl;
32 31

  
......
37 36

  
38 37
public class MovesController implements MovesFinished
39 38
  {
39
  private static final int MOVES_PLACE_0 = 100;
40 40
  private static final int MILLIS_PER_DEGREE = 6;
41 41

  
42 42
  private static class Move
......
103 103
          {
104 104
          mCanPrevMove = false;
105 105
          mControl = control;
106
          mControl.blockTouch(BlockController.MOVES_PLACE_0);
106
          mControl.blockTouch(MOVES_PLACE_0);
107 107
          mControl.addRotation(this, axis, (1<<move.mRow), -angle, MILLIS_PER_DEGREE);
108 108
          }
109 109
        else

Also available in: Unified diff