⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 roomstruct.java

📁 java程序五子棋源代码。 java程序五子棋源代码。
💻 JAVA
字号:
package com.tianxia.qipai.model.game.gobang;

public class RoomStruct {
	public  int roomnum;    //房间编号
	public  int capacity;  //房间容量
	private  int tablecount; //桌子的数量
	public  int onlinenum;  //房间里的在线人数
	public  TableStruct tablestruct[];
	public RoomStruct() {
		super();
		roomnum = 1;
		capacity = 60;
		tablecount = 20;
		onlinenum = 0;
		// TODO 自动生成构造函数存根
	}
	
	public void SetTableCount(int tablecount){
		this.tablecount = tablecount;
		tablestruct = new TableStruct[tablecount+1];
	}
	
	public int GetTableCount(){
		return tablecount;
	}
}

⌨️ 快捷键说明

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