Project

General

Profile

« Previous | Next » 

Revision 106ae28d

Added by Leszek Koltunski about 5 years ago

Progress with DistortedCube.

View differences:

src/main/java/org/distorted/library/main/DistortedEffects.java
218 218
    int num = effect.getType().ordinal();
219 219
    return mQueues[num].add(effect,position);
220 220
    }
221

  
222
///////////////////////////////////////////////////////////////////////////////////////////////////
223
/**
224
 * Return number of effects of the given type currently in the Queue.
225
 *
226
 * @param type The EffectType.
227
 * @return Number of effects of the given type currently in the Queue.
228
 */
229
  public int getNumEffects(EffectType type)
230
    {
231
    int num = type.ordinal();
232
    return mQueues[num].getNumEffects();
233
    }
221 234
  }

Also available in: Unified diff