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/TwistyHelicopter.java
79 79
  public TwistyHelicopter(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.HELI, res, scrWidth);
82
    super(size, size, quat, texture, mesh, effects, moves, res, scrWidth);
83 83
    }
84 84

  
85 85
///////////////////////////////////////////////////////////////////////////////////////////////////
......
456 456
    return mBasicAngle;
457 457
    }
458 458

  
459
///////////////////////////////////////////////////////////////////////////////////////////////////
460

  
461
  public ObjectList intGetObjectList(int numLayers)
462
    {
463
    return ObjectList.HELI_3;
464
    }
465

  
459 466
///////////////////////////////////////////////////////////////////////////////////////////////////
460 467

  
461 468
  public int getObjectName(int numLayers)

Also available in: Unified diff