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/TwistyIvy.java
78 78
  public TwistyIvy(int size, Static4D quat, DistortedTexture texture, MeshSquare mesh,
79 79
                   DistortedEffects effects, int[][] moves, Resources res, int scrWidth)
80 80
    {
81
    super(size, size, quat, texture, mesh, effects, moves, ObjectList.IVY, res, scrWidth);
81
    super(size, size, quat, texture, mesh, effects, moves, res, scrWidth);
82 82
    }
83 83

  
84 84
///////////////////////////////////////////////////////////////////////////////////////////////////
......
483 483
    return mBasicAngle;
484 484
    }
485 485

  
486
///////////////////////////////////////////////////////////////////////////////////////////////////
487

  
488
  public ObjectList intGetObjectList(int numLayers)
489
    {
490
    return ObjectList.IVY_2;
491
    }
492

  
486 493
///////////////////////////////////////////////////////////////////////////////////////////////////
487 494

  
488 495
  public int getObjectName(int numLayers)

Also available in: Unified diff