Esempio n. 1
0
 public static void turnLightOn()
 {
     lights.Clear();
     map = new Lightmap(12, 67, 40);
     lights.Add(new Light(true));
     SoundComponent.decreaseFrequency();
 }
Esempio n. 2
0
        public override void Initialize()
        {
            Random rand = new Random();

            map = new Lightmap(12, 67, 40);//15,54,32
            lights.Add(new Light(Vector2.Zero, 1.0f));
            base.Initialize();
        }
Esempio n. 3
0
 public static void passLights(List <Light> newLights)
 {
     lights.Clear();
     map = new Lightmap(12, 67, 40);
     lights.Add(new Light(true));
     foreach (Light l in newLights)
     {
         lights.Add(l);
     }
 }
Esempio n. 4
0
 public static void turnOffLights()
 {
     lights.Clear();
     map = new Lightmap(12, 67, 40);
     SoundComponent.increaseFrequency();
 }
Esempio n. 5
0
        protected override void LoadContent()
        {
            spriteBatch = new SpriteBatch(GraphicsDevice);

            map = new Lightmap(40, 40, 12);
        }