Project

General

Profile

« Previous | Next » 

Revision 61aa85e4

Added by Leszek Koltunski over 2 years ago

Simplify ObjectList: now there's just one object per size.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyUltimate.java
79 79
  public TwistyUltimate(int size, Static4D quat, DistortedTexture texture, MeshSquare mesh,
80 80
                        DistortedEffects effects, int[][] moves, Resources res, int scrWidth)
81 81
    {
82
    super(size, size, quat, texture, mesh, effects, moves, ObjectList.ULTI, res, scrWidth);
82
    super(size, size, quat, texture, mesh, effects, moves, res, scrWidth);
83 83
    }
84 84

  
85 85
///////////////////////////////////////////////////////////////////////////////////////////////////
......
441 441
    return mBasicAngle;
442 442
    }
443 443

  
444
///////////////////////////////////////////////////////////////////////////////////////////////////
445

  
446
  public ObjectList intGetObjectList(int numLayers)
447
    {
448
    return ObjectList.ULTI_2;
449
    }
450

  
444 451
///////////////////////////////////////////////////////////////////////////////////////////////////
445 452

  
446 453
  public int getObjectName(int numLayers)

Also available in: Unified diff