public static void turnLightOn() { lights.Clear(); map = new Lightmap(12, 67, 40); lights.Add(new Light(true)); SoundComponent.decreaseFrequency(); }
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(); }
public static void turnOffLights() { lights.Clear(); map = new Lightmap(12, 67, 40); SoundComponent.increaseFrequency(); }