IEffect.hx 369 B

123456789101112
  1. package textbox.effects;
  2. import textbox.Text;
  3. interface IEffect
  4. {
  5. public function reset(arg1:Int, arg2:Int, arg3:Int, nthCharacter:Int):Void;
  6. public function update(elapsed:Float):Void;
  7. public function apply(text:Text):Void;
  8. // To be called to offset per character
  9. public function setActive(active:Bool):Void;
  10. public function isActive():Bool;
  11. }