Project

General

Profile

« Previous | Next » 

Revision bdbbb4c5

Added by Leszek Koltunski over 2 years ago

Refactoring: split the 'objects' package into two, 'objects' and 'objectlib'.
The point: we're going to need to move the 'objectlib' stuff into its own library module, and that's because we're going to create a new app module which needs access to it.

View differences:

src/main/java/org/distorted/objects/TwistyBandagedEvil.java
21 21

  
22 22
import android.content.res.Resources;
23 23

  
24
import org.distorted.helpers.ScrambleState;
24
import org.distorted.objectlb.ScrambleState;
25 25
import org.distorted.library.main.DistortedEffects;
26 26
import org.distorted.library.main.DistortedTexture;
27 27
import org.distorted.library.mesh.MeshSquare;
28 28
import org.distorted.library.type.Static4D;
29 29
import org.distorted.main.R;
30
import org.distorted.objectlb.ObjectList;
30 31

  
31 32
///////////////////////////////////////////////////////////////////////////////////////////////////
32 33

  
33
class TwistyBandagedEvil extends TwistyBandagedAbstract
34
public class TwistyBandagedEvil extends TwistyBandagedAbstract
34 35
{
35
  TwistyBandagedEvil(int size, Static4D quat, DistortedTexture texture, MeshSquare mesh,
36
                     DistortedEffects effects, int[][] moves, Resources res, int scrWidth)
36
  public TwistyBandagedEvil(int size, Static4D quat, DistortedTexture texture, MeshSquare mesh,
37
                            DistortedEffects effects, int[][] moves, Resources res, int scrWidth)
37 38
    {
38 39
    super(size, quat, texture, mesh, effects, moves, ObjectList.BAN4, res, scrWidth);
39 40
    }
40 41

  
41 42
///////////////////////////////////////////////////////////////////////////////////////////////////
42 43

  
43
  ScrambleState[] getScrambleStates()
44
  protected ScrambleState[] getScrambleStates()
44 45
    {
45 46
    if( mStates==null )
46 47
      {

Also available in: Unified diff