예제 #1
0
 public static void turnLightOn()
 {
     lights.Clear();
     map = new Lightmap(12, 67, 40);
     lights.Add(new Light(true));
     SoundComponent.decreaseFrequency();
 }
예제 #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();
        }
예제 #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);
     }
 }
예제 #4
0
 public static void turnOffLights()
 {
     lights.Clear();
     map = new Lightmap(12, 67, 40);
     SoundComponent.increaseFrequency();
 }
예제 #5
0
파일: Game1.cs 프로젝트: mdwyer223/GDM
        protected override void LoadContent()
        {
            spriteBatch = new SpriteBatch(GraphicsDevice);

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