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/TwistyJing.java
75 75
  public TwistyJing(int size, Static4D quat, DistortedTexture texture, MeshSquare mesh,
76 76
                    DistortedEffects effects, int[][] moves, Resources res, int scrWidth)
77 77
    {
78
    super(size, size, quat, texture, mesh, effects, moves, ObjectList.JING, res, scrWidth);
78
    super(size, size, quat, texture, mesh, effects, moves, res, scrWidth);
79 79
    }
80 80

  
81 81
///////////////////////////////////////////////////////////////////////////////////////////////////
......
442 442
    return mBasicAngle;
443 443
    }
444 444

  
445
///////////////////////////////////////////////////////////////////////////////////////////////////
446

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

  
445 452
///////////////////////////////////////////////////////////////////////////////////////////////////
446 453

  
447 454
  public int getObjectName(int numLayers)

Also available in: Unified diff