Esempio n. 1
0
        public IEmittable CreateStatic(Loc startLoc, int startHeight, Dir8 dir)
        {
            StaticAnim anim = (StaticAnim)CloneIEmittable();

            anim.SetupEmitted(startLoc, startHeight, dir);
            return(anim);
        }
Esempio n. 2
0
 protected StaticAnim(StaticAnim other) : base(other)
 {
 }
Esempio n. 3
0
 public SingleEmitter(AnimData anim, int cycles)
 {
     Anim  = new StaticAnim(anim, cycles, 0);
     Layer = DrawLayer.Normal;
 }
Esempio n. 4
0
 public SingleEmitter(AnimData anim)
 {
     Anim  = new StaticAnim(anim);
     Layer = DrawLayer.Normal;
 }
Esempio n. 5
0
 public BetweenEmitter(AnimData animBack, AnimData animFront)
 {
     AnimBack  = new StaticAnim(animBack);
     AnimFront = new StaticAnim(animFront);
 }
Esempio n. 6
0
 public RepeatEmitter(AnimData anim)
 {
     Anim  = new StaticAnim(anim);
     Layer = DrawLayer.Normal;
 }