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; }
public EditorInterface(GameControl control) : base(control) { }