BlackZilean.Utility.DamageIndicator.Initialize C# (CSharp) Method

Initialize() public static method

public static Initialize ( LeagueSharp damageToUnitDelegate ) : void
damageToUnitDelegate LeagueSharp
return void
        public static void Initialize(LeagueSharp.Common.Utility.HpBarDamageIndicator.DamageToUnitDelegate damageToUnitDelegate)
        {
            // Apply needed field delegate for damage calculation
            damageToUnit = damageToUnitDelegate;
            DrawingColor = Color.GreenYellow;
            Enabled = true;
            // Register event handlers
            Drawing.OnDraw += OnDraw;
        }
DamageIndicator