private void SetEffect(string effect, Actor who, AdonEnemy p) { // Display Small Spark Effect on Hit SpecialEffects spark = new SpecialEffects(effect, who.Position, InLevel, p); InLevel.GameItems.Add(spark); }
private void SetEffect(string effect, DirectionTarget facing, Level inLevel, TrashCan who) { // Display Small Spark Effect on Hit SpecialEffects spark = new SpecialEffects(effect, facing, inLevel, who); InLevel.GameItems.Add(spark); }