package com.wuziqi.pk;
import java.awt.Color;  
/** 
 * 棋子类 
 */  
public class Point {  
  private int x;//棋盘中的x索引   
  private int y;//棋盘中的y索引   
  private Color color;//颜色   
  public static final int DIAMETER=30;//直径   
    
  public Point(int x,int y,Color color){  
      this.x=x;  
      this.y=y;  
      this.color=color;  
  }   
    
  public int getX(){//拿到棋盘中x的索引   
      return x;  
  }  
  public int getY(){  
      return y;  
  }  
  public Color getColor(){//获得棋子的颜色   
      return color;  
  }  
}  
最近下载更多
鬼屋报道  LV3 2024年6月1日
zhos0212  LV19 2024年2月29日
方法56868383  LV1 2024年2月6日
周俊杰  LV1 2023年12月25日
张张张飞  LV1 2023年11月28日
Zhang昊  LV1 2023年6月3日
墨鱼仔  LV1 2023年6月3日
fenghuijun  LV26 2023年3月30日
刘鹏yyds  LV10 2022年12月21日
嘻嘻嘻嘻嘻嘻司法所  LV1 2022年12月15日
最近浏览更多
bingtian1112  LV1 1月9日
jjbjbkj  LV1 2024年12月17日
yzhsnjdn  LV1 2024年12月17日
慕容秋雨 2024年11月10日
暂无贡献等级
1601558066 2024年8月1日
暂无贡献等级
柳咪华沙  LV7 2024年6月28日
qqqww11  LV2 2024年6月26日
qatbc66 2024年6月20日
暂无贡献等级
sunxiaoyan  LV1 2024年6月19日
鬼屋报道  LV3 2024年6月1日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友