Project

General

Profile

« Previous | Next » 

Revision 8f44228f

Added by Leszek Koltunski over 1 year ago

Make the JSON reader capable of handling possible future 'BAN*_*' objects.

View differences:

src/main/java/org/distorted/objectlib/helpers/ObjectSignature.java
114 114
    prepareAllCycles();
115 115
    }
116 116

  
117
///////////////////////////////////////////////////////////////////////////////////////////////////
118
// BAN*** objects when read from JSON
119

  
120
  public ObjectSignature(int size, long[] signature)
121
    {
122
    setUpSignature(signature);
123

  
124
    mLayer = new int[] {size,size,size};
125

  
126
    prepareCubitTouch();
127
    prepareAllCycles();
128
    }
129

  
117 130
///////////////////////////////////////////////////////////////////////////////////////////////////
118 131
// other objects created from JSON (version2)
119 132

  

Also available in: Unified diff