Project

General

Profile

« Previous | Next » 

Revision 143095f7

Added by Leszek Koltunski over 5 years ago

Minor cleanups.

View differences:

src/main/java/org/distorted/library/effect/EffectName.java
42 42

  
43 43
public enum EffectName
44 44
  {
45
  // EFFECT NAME /////// EFFECT TYPE ////////// EFFECT UNITY //////////// DIM REGION CENTER
45
  // EFFECT NAME /////// EFFECT TYPE ////////// EFFECT UNITY //////////// DIM REGION CENTER // CLASS
46 46
  ROTATE           ( EffectType.MATRIX  ,   new float[] {0.0f}           , 4, false, true  , MatrixEffectRotate.class       ),
47 47
  QUATERNION       ( EffectType.MATRIX  ,   new float[] {0.0f,0.0f,0.0f} , 4, false, true  , MatrixEffectQuaternion.class   ),
48 48
  MOVE             ( EffectType.MATRIX  ,   new float[] {0.0f,0.0f,0.0f} , 3, false, false , MatrixEffectMove.class         ),
......
130 130
// PUBLIC API
131 131
///////////////////////////////////////////////////////////////////////////////////////////////////
132 132
/**
133
 * Returns the Type of an individual Effect. For example, EffectName.ROTATION.getType() will
133
 * Returns the Type of an individual Effect. For example, EffectName.ROTATE.getType() will
134 134
 * return EffectType.MATRIX.
135 135
 * @return type of the effect.
136 136
 */
......
140 140
    }
141 141

  
142 142
///////////////////////////////////////////////////////////////////////////////////////////////////
143
  /**
144
   * Returns the Class of an individual Effect. For example, EffectName.ROTATION.getType() will
145
   * return MatrixEffectRotation.class.
146
   * @return effect class.
147
   */
143
/**
144
 * Returns the Class of an individual Effect. For example, EffectName.ROTATE.getEffectClass()
145
 * returns MatrixEffectRotate.class.
146
 * @return effect class.
147
 */
148 148
  public Class<? extends Effect> getEffectClass()
149 149
    {
150 150
    return effectClass;

Also available in: Unified diff