Project

General

Profile

« Previous | Next » 

Revision faa3ff56

Added by Leszek Koltunski almost 7 years ago

Javadoc.

View differences:

src/main/java/org/distorted/library/effect/EffectType.java
48 48
  POSTPROCESS;
49 49

  
50 50
///////////////////////////////////////////////////////////////////////////////////////////////////
51

  
52
  public static final int LENGTH = values().length;  // The number of effect types.
53
  public static final int MASK= (1<<LENGTH)-1;       // Needed when we do bitwise operations on Effect Types.
51
/**
52
 * Number of effect types.
53
 * Only for use by the library itself.
54
 *
55
 * @y.exclude
56
 */
57
  public static final int LENGTH = values().length;
58
/**
59
 * Needed when we do bitwise operations on Effect Types.
60
 * Only for use by the library itself.
61
 *
62
 * @y.exclude
63
 */
64
  public static final int MASK= (1<<LENGTH)-1;
54 65

  
55 66
///////////////////////////////////////////////////////////////////////////////////////////////////
56
// called from EffectQueue
57

  
67
/**
68
 * Only for use by the library itself.
69
 *
70
 * @y.exclude
71
 */
58 72
  public static void reset(int[] maxtable)
59 73
    {
60 74
    maxtable[0] =10;  // By default, there can be a maximum 10 MATRIX effects in a single

Also available in: Unified diff