Ejemplo n.º 1
0
        public void OnDrawEnemy(EventArgs args)
        {
            if (!SMenu.Item(MenuItemBase + "Boolean.DrawOnEnemy").GetValue <bool>())
            {
                _damageIndicator.SetFillEnabled(false);
                _damageIndicator.SetKillableEnabled(false);
                return;
            }

            _damageIndicator.SetFillEnabled(SMenu.Item(MenuItemBase + "Boolean.DrawOnEnemy.FillColor").GetValue <Circle>().Active);
            _damageIndicator.SetFill(SMenu.Item(MenuItemBase + "Boolean.DrawOnEnemy.FillColor").GetValue <Circle>().Color);


            _damageIndicator.SetKillableEnabled(SMenu.Item(MenuItemBase + "Boolean.DrawOnEnemy.KillableColor").GetValue <Circle>().Active);
            _damageIndicator.SetKillable(SMenu.Item(MenuItemBase + "Boolean.DrawOnEnemy.KillableColor").GetValue <Circle>().Color);
        }