コード例 #1
0
ファイル: ScreenInterface.cs プロジェクト: Hakua/PokeSharp
		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
ファイル: EditorInterface.cs プロジェクト: Hakua/PokeSharp
		public EditorInterface(GameControl control) : base(control) {
		}