gridevent.java

来自「几个java小游戏」· Java 代码 · 共 20 行

JAVA
20
字号
package org.nebula.cwt.grid;

import java.awt.event.MouseEvent;
import java.awt.Point;

public class GridEvent {

	public int col, row;
	public int xOffset, yOffset;
    public MouseEvent evt;

	public GridEvent(int col,int row, int xOffset, int yOffset, MouseEvent evt) {
		this.col = col;
		this.row = row;
		this.xOffset = xOffset;
		this.yOffset = yOffset;
		this.evt = evt;
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?