public static void Initialize(LeagueSharp.SDK.Core.UI.DamageIndicator.DamageToUnitDelegate damageToUnit) { // Apply needed field delegate for damage calculation CustomDamageIndicator.damageToUnit = damageToUnit; DrawingColor = System.Drawing.Color.Green; Enabled = true; // Register event handlers Drawing.OnDraw += Drawing_OnDraw; }
public static void Initialize(LeagueSharp.SDK.Core.UI.DamageIndicator.DamageToUnitDelegate damageToUnit) { // Apply needed field delegate for damage calculation CustomDamageIndicator.damageToUnit = damageToUnit; DrawingColor = System.Drawing.Color.Green; Enabled = true; // Register event handlers Drawing.OnDraw += Drawing_OnDraw; }