All Downloads are FREE. Search and download functionalities are using the official Maven repository.

za.co.knowles.pokewhat.domain.lookup.ESuit Maven / Gradle / Ivy

package za.co.knowles.pokewhat.domain.lookup;

import za.co.knowles.pokewhat.domain.Card;

public enum ESuit {
    SPADES("♠"), CLUBS("♣"), HEARTS("♥"), DIAMONDS("♦");

    private final String picture;

    ESuit(String picture) {
        this.picture = picture;
    }

    public String getPicture() {
        return picture;
    }

    public Card the(ERank rank) {
        return new Card(this, rank);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy