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

📄 onehandcard.java

📁 别人的大作
💻 JAVA
字号:
package poker;/** * <p>Title: 斗地主</p> * <p>Description:记录一手牌 </p> * <p>Copyright: Copyright (c) 2004</p> * <p>Company: </p> * @author 李艳生 * @version 1.0 */public class OneHandCard {	//牌型:单张、对子、三张、三带一、四带二、单顺、子妹对、三顺、飞机带翅膀、炸弹、火箭11种牌型	private String pokeType;	//点数	private int pokePower;	//连牌数	private int pokeCount;    public OneHandCard() {		pokeType = "";		pokePower = 0;		pokeCount = 0;    }	public OneHandCard(String type, int power, int count) {		this.pokeType = type;		this.pokePower = power;		this.pokeCount = count;	}    public int getPokeCount() {		return pokeCount;    }    public int getPokePower() {		return pokePower;    }    public String getPokeType() {		return pokeType;    }    public void setPokeType(String pokeType) {		this.pokeType = pokeType;    }    public void setPokePower(int pokePower) {		this.pokePower = pokePower;    }	public void setPokeCount(int pokeCount) {		this.pokeCount = pokeCount;    }}

⌨️ 快捷键说明

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