Project

General

Profile

« Previous | Next » 

Revision 1cd323dd

Added by Leszek Koltunski over 2 years ago

Move yet more code to objectlib.
It's almost possible to move the PreRender to objectlib now.

View differences:

src/main/java/org/distorted/tutorials/TutorialPreRender.java
22 22
import android.content.Context;
23 23
import android.content.res.Resources;
24 24

  
25
import org.distorted.objectlib.helpers.ObjectStateActioner;
25 26
import org.distorted.objectlib.main.ObjectType;
26 27
import org.distorted.objectlib.main.TwistyObject;
27 28
import org.distorted.objectlib.helpers.BlockController;
28 29
import org.distorted.objectlib.helpers.MovesFinished;
29 30
import org.distorted.objectlib.helpers.TwistyPreRender;
30

  
31 31
import org.distorted.objectlib.effects.BaseEffect;
32 32
import org.distorted.objectlib.effects.EffectController;
33 33

  
......
52 52
  private int mNearestAngle;
53 53
  private int mScrambleObjectNum;
54 54
  private final BlockController mBlockController;
55
  private final ObjectStateActioner mActioner;
55 56

  
56 57
///////////////////////////////////////////////////////////////////////////////////////////////////
57 58

  
58
  TutorialPreRender(TutorialSurfaceView view)
59
  TutorialPreRender(TutorialSurfaceView view, ObjectStateActioner actioner)
59 60
    {
60 61
    mView = view;
62
    mActioner = actioner;
61 63

  
62 64
    mFinishRotation = false;
63 65
    mRemoveRotation = false;

Also available in: Unified diff