point.java

来自「java实现的简单连连看游戏」· Java 代码 · 共 28 行

JAVA
28
字号
package com.ismyway.n840_kyodai;

/**
 * <p>Title: S60_Kyodai</p>
 * <p>Description: for S60 platform</p>
 * <p>Copyright: Copyright (c) 2005</p>
 * <p>Company: www.ismyway.com</p>
 * @author ZhangJian
 * @version 1.0
 */

public class Point {
  public int x, y;

  public Point() {
    x = -1;
    y = -1;
  }

  public Point(int x, int y) {
    this.x = x;
    this.y = y;
  }

  public String toString() {
    return ("Point.x = " + x + ", Point.y = " + y);
  }
}

⌨️ 快捷键说明

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