예제 #1
0
        private IEnumerable <Wait> ImpactExplosion(Skills.Projectile projectile, Tile tile)
        {
            new FireExplosion(tile.World, tile.VisualTarget, Vector2.Zero, 0, 20);
            yield return(new WaitTime(5));

            new ScreenShakeRandom(tile.World, 8, 20, LerpHelper.Linear);
            new RingExplosion(tile.World, tile.VisualTarget, (pos, vel, angle, time) => new LightningExplosion(tile.World, pos, vel, angle, time), 12, 24, 10);
        }
예제 #2
0
 public ShootEvent(Skills.Projectile projectile, Creature creature, Tile tile)
 {
     Projectile = projectile;
     Creature   = creature;
     Tile       = tile;
 }