예제 #1
0
        private static void GameOnDraw(EventArgs args)
        {
            if (GravesTheTrollMeNu.Nodraw())
            {
                return;
            }

            {
                if (GravesTheTrollMeNu.DrawingsQ())
                {
                    new Circle {
                        Color = Color.Red, Radius = Q.Range, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (GravesTheTrollMeNu.DrawingsW())
                {
                    new Circle {
                        Color = Color.Red, Radius = W.Range, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (GravesTheTrollMeNu.DrawingsE())
                {
                    new Circle {
                        Color = Color.Red, Radius = E.Range, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (GravesTheTrollMeNu.DrawingsR())
                {
                    new Circle {
                        Color = Color.Red, Radius = R.Range, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                DamageIndicator.HealthbarEnabled =
                    GravesTheTrollMeNu.DrawMeNu["healthbar"].Cast <CheckBox>().CurrentValue;
                DamageIndicator.PercentEnabled = GravesTheTrollMeNu.DrawMeNu["percent"].Cast <CheckBox>().CurrentValue;
            }
        }