Project

General

Profile

« Previous | Next » 

Revision 880beeea

Added by Leszek Koltunski over 2 years ago

Move ObjectControl, the next big chunk of code, to objectlib.

View differences:

src/main/java/org/distorted/objectlib/helpers/ObjectStateActioner.java
21 21

  
22 22
///////////////////////////////////////////////////////////////////////////////////////////////////
23 23

  
24
import org.distorted.objectlib.main.ObjectType;
25

  
24 26
public interface ObjectStateActioner
25 27
  {
26 28
  void onWinEffectFinished(TwistyActivity act, String debug, int scrambleNum);
27 29
  void onScrambleEffectFinished(TwistyActivity act);
30
  void onBeginRotation(TwistyActivity act);
31
  void onFinishRotation(TwistyActivity act, int axis, int row, int angle);
32
  void failedToDrag(TwistyActivity act);
33
  int getCurrentColor();
34
  int cubitIsLocked(ObjectType type, int cubit);
28 35
  void onSolved();
29 36
  }

Also available in: Unified diff