otro.java
来自「J2ME 技术开发的扑克牌类游戏 是开源代码」· Java 代码 · 共 56 行
JAVA
56 行
/*
* Otro.java
*
* Created on 3 de junio de 2005, 22:03
*
* To change this template, choose Tools | Options and locate the template under
* the Source Creation and Management node. Right-click the template and choose
* Open. You can then make changes to the template in the Source Editor.
*/
package telefono.reglas;
/**
*
* @author Enrique Vicent Ramis
*/
public class Otro implements telefono.Partida.Reglas
{
/** Creates a new instance of Otro */
public Otro()
{
}
public int incParcial(int parcial)
{
return parcial+1;
}
public int getCartas(int ronda)
{
return ronda;
}
public int decParcial(int parcial)
{
return parcial-1;
}
public int incParcial()
{
return 1;
}
public int[] getLines()
{
return new int[0];
}
public int decParcial()
{
return 0;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?