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
        protected override void Initialize()
        {
            otherDevice = this.GraphicsDevice;
            camera      = new Camera2D(this);
            Components.Add(camera);
            lights = new LightComponent(this);
            //Components.Add(lights);
            sound = new SoundComponent(this);
            Components.Add(sound);

            mBox = new MessageBox();

            Thread tServerRead = new Thread(new ThreadStart(ReadServer));

            tServerRead.Start();
            base.Initialize();
        }
Esempio n. 3
0
 public static void turnOffLights()
 {
     lights.Clear();
     map = new Lightmap(12, 67, 40);
     SoundComponent.increaseFrequency();
 }