mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-06-27 11:44:42 +02:00
added a new arraylist to constuktor
This commit is contained in:
@ -10,6 +10,9 @@ import java.util.Random;
|
||||
public abstract class Deck<T> implements IDeck<T> {
|
||||
private final List<T> cardList;
|
||||
|
||||
public Deck (){
|
||||
this.cardList=new ArrayList<>();
|
||||
}
|
||||
/**
|
||||
* Initializes the deck with cards
|
||||
* @param cardList list of cards
|
||||
|
Reference in New Issue
Block a user