TextEffectArray.hx 393 B

12345678910111213141516
  1. package textbox;
  2. import textbox.effects.*;
  3. /**
  4. * Contains an array of used effects. Their index will be their effect index, so an effect token @00[...]
  5. * will interact with the first class in the list.
  6. */
  7. class TextEffectArray
  8. {
  9. public static var effectClasses:Array<Class<IEffect>> =
  10. [
  11. ColorEffect, // 00
  12. RainbowEffect // 01
  13. // ...
  14. ];
  15. }