package roshka.bootcamp.poker; import java.util.ArrayList; public class Carta { private static final String[] palos = {"S", "C", "H", "D"}; private static final String[] valores = {"2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K", "A"}; private String palo; private String valor; private String name; private int numericValue; public Carta(String palo, String valor, int numericValue) { this.palo = palo; this.valor = valor; this.numericValue = numericValue; this.name = valor+palo; } public String getPalo() { return palo; } public String getValor() { return valor; } public static ArrayList crearMazo(){ ArrayList mazo = new ArrayList(); for(int i=0;i