Example #1
0
		private void emitterRibbonButton_Click(object sender, EventArgs e)
		{
			UnselectAllTools();
			btnEmitter.Checked = true;

			Emitter emitter = new Emitter(LevelEditor.Level);
			emitter.DefaultValues();

			emitter.Width = 100;
			emitter.Height = 100;

			mParent.SetEditorTool(new DrawEditorTool(emitter, false));
		}