Commit 12c9c9cd by Yovan Martinez

Agregado metodos getvalor y getpalo

parent e9d5dbb0
......@@ -22,6 +22,24 @@ public class Carta {
String palos = "";
palo = palo + String.valueOf(carta.charAt(1));
}
public String getPalo(){
return palo;
}
public String getValor(){
return valor;
}
String valorPalo()
{
return this.valor + this.palo;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment