📄 manobriscola.java
字号:
class ManoBriscola extends Mano { private Seme briscola; public ManoBriscola(Seme s) { super(); briscola = s; } public ManoBriscola(Mazzo m, Seme s) throws NoMoreCardsException { super(m); briscola = s; } public int valore() { int val=0; this.ordina(); for(int i=0;i<c.length;i++) if(c[i].getSeme().get()==briscola.get()) if(c[i].getValore().get()>val) val = c[i].getValore().get(); return val; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -