Exemple #1
0
        public override void DrawLight(LightingLayer layer)
        {
            Vector2 position = this.Position;

            this.Position += Vector2.UnitY * -4f;
            base.DrawLight(layer);
            this.Position = position;
        }
Exemple #2
0
        //
        // Methods
        //
        public override void DrawLight(LightingLayer layer)
        {
            Vector2 position = this.Position;

            this.Position += new Vector2(0f, -34f);
            base.DrawLight(layer);
            this.Position = position;
        }
Exemple #3
0
 //
 // Methods
 //
 public override void DrawLight(LightingLayer layer)
 {
     if (this.LightAlpha > 0f)
     {
         float x = base.X;
         base.X += 5f;
         int num = 0;
         while ((float)num < base.Width)
         {
             base.DrawLight(layer);
             base.X += 10f;
             num    += 10;
         }
         base.X = x;
     }
 }