Пример #1
0
		public ScreenInterface(GameControl control) : this() {
			this.Control = control;
			this.SpriteBatch = new SpriteBatch(control.GraphicsDevice);

			control.MouseDown += PerformDown;
			control.MouseUp += PerformUp;
			control.MouseDoubleClick += PerformDoubleClick;
			control.MouseMove += PerformMouseMove;
			control.MouseEnter += PerformMouseEnter;
	
			control.MouseLeave += PerformMouseLeave;
		}
Пример #2
0
		public EditorInterface(GameControl control) : base(control) {
		}