资源简介
纯java写的局域网斗地主游戏
包括服务器端 客户端 界面 规则 5毛钱特效等
采用socket网络传输
凑后玩
代码片段和文件信息
package com.zhangchu.fuckland.domain;
import java.io.Serializable;
import java.util.List;
public class Msg implements Serializable{
private static final long serialVersionUID = -3911518404188182583L;
private int id;
private List list;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public List getList() {
return list;
}
public void setList(List list) {
this.list = list;
}
public static long getSerialversionuid() {
return serialVersionUID;
}
@Override
public String toString() {
return “Msg [id=“ + id + “ list=“ + list + “]“;
}
public Msg(int id List list) {
super();
this.id = id;
this.list = list;
}
public Msg() {
super();
}
}
评论
共有 条评论