Ejemplo n.º 1
0
		private void InitializeClasses()
		{
			contentListUpdater = new ContentListUpdater(this, service);
			waveHandler = new WaveHandler(this);
			propertyUpdater = new PropertyUpdater(this);
			xmlSaver = new XmlSaver(service);
			Level = new Level(new Size(12, 12));
			backgroundImageHandler = new BackgroundImageHandler(Level);
			renderer = new LevelDebugRenderer(Level);
			cameraSliders = new CameraSliders(renderer);
			levelObjectHandler = new LevelObjectHandler((int)(Level.Size.Width * Level.Size.Height));
			levelCommands = new LevelEditorCommands(this);
		}
 private void InitializeClasses()
 {
     contentListUpdater = new ContentListUpdater(this, service);
     waveHandler        = new WaveHandler(this);
     propertyUpdater    = new PropertyUpdater(this);
     xmlSaver           = new XmlSaver(service);
     Level = new Level(new Size(12, 12));
     backgroundImageHandler = new BackgroundImageHandler(Level);
     renderer           = new LevelDebugRenderer(Level);
     cameraSliders      = new CameraSliders(renderer);
     levelObjectHandler = new LevelObjectHandler((int)(Level.Size.Width * Level.Size.Height));
     levelCommands      = new LevelEditorCommands(this);
 }