Project

General

Profile

« Previous | Next » 

Revision 4af5bbe6

Added by Leszek Koltunski almost 6 years ago

Refactor the 'Generic' app.

View differences:

src/main/java/org/distorted/library/effect/EffectType.java
78 78
    maxtable[2] = 5;  // Max 5 FRAGMENT Effects
79 79
    maxtable[3] = 5;  // Max 5 POSTPROCESSING Effects
80 80
    }
81

  
82
///////////////////////////////////////////////////////////////////////////////////////////////////
83
/**
84
 * Returns the i-th EffectType.
85
 * <p>
86
 * If you want to loop over all possible effect types, you need this.
87
 */
88
  public static EffectType getType(int ordinal)
89
    {
90
    return values()[ordinal];
91
    }
92

  
81 93
  }

Also available in: Unified diff