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); }
public ShootEvent(Skills.Projectile projectile, Creature creature, Tile tile) { Projectile = projectile; Creature = creature; Tile = tile; }