Project

General

Profile

« Previous | Next » 

Revision 2df35810

Added by Leszek Koltunski over 2 years ago

Simplifications

View differences:

src/main/java/org/distorted/objectlib/main/TwistyObject.java
1240 1240
      return mQuat;
1241 1241
      }
1242 1242

  
1243
///////////////////////////////////////////////////////////////////////////////////////////////////
1244

  
1245
  public void apply(Effect effect, int position)
1246
    {
1247
    mEffects.apply(effect, position);
1248
    }
1249

  
1250
///////////////////////////////////////////////////////////////////////////////////////////////////
1251

  
1252
  public void remove(long effectID)
1253
    {
1254
    mEffects.abortById(effectID);
1255
    }
1256

  
1243 1257
///////////////////////////////////////////////////////////////////////////////////////////////////
1244 1258
// PUBLIC API
1245 1259
///////////////////////////////////////////////////////////////////////////////////////////////////
......
1261 1275
    return mNumLayers;
1262 1276
    }
1263 1277

  
1264
///////////////////////////////////////////////////////////////////////////////////////////////////
1265

  
1266
  public void apply(Effect effect, int position)
1267
    {
1268
    mEffects.apply(effect, position);
1269
    }
1270

  
1271
///////////////////////////////////////////////////////////////////////////////////////////////////
1272

  
1273
  public void remove(long effectID)
1274
    {
1275
    mEffects.abortById(effectID);
1276
    }
1277

  
1278 1278
///////////////////////////////////////////////////////////////////////////////////////////////////
1279 1279

  
1280 1280
  public synchronized void solve()

Also available in: Unified diff