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

📄 cardgroup.java

📁 一个J2ME编写的牌类游戏
💻 JAVA
字号:
package de.tsr.jsol.logic;

import java.util.*;

import de.tsr.jsol.gui.IGraphicsWrapper;

public class CardGroup implements ICard {
	Stack _group = new Stack();
	public CardGroup() {
		super();
	}
	public int Suit() {
		return ((Card)_group.lastElement()).Suit();
	}
	public int Rank() {
		return ((Card)_group.lastElement()).Rank();
	}
	public void Paint(IGraphicsWrapper g) {
		((Card)_group.lastElement()).Paint(g);
	}
	
	public boolean Empty( ) {
		return _group.empty();
	}	

	public void PaintSelected(IGraphicsWrapper g) {
		// TODO Auto-generated method stub
	}
}

⌨️ 快捷键说明

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