Started working on solo draft
This commit is contained in:
@@ -1,21 +1,20 @@
|
||||
package com.gempukku.lotro.draft2;
|
||||
|
||||
import com.gempukku.lotro.game.CardCollection;
|
||||
import com.gempukku.lotro.game.DefaultCardCollection;
|
||||
|
||||
public class DefaultSoloDraft implements SoloDraft {
|
||||
private String _format;
|
||||
private SoloDraftStartingPool _startingPool;
|
||||
private SoloDraftPicks _picks;
|
||||
|
||||
public DefaultSoloDraft(String format, SoloDraftStartingPool startingPool, SoloDraftPicks picks) {
|
||||
public DefaultSoloDraft(String format, SoloDraftPicks picks) {
|
||||
_format = format;
|
||||
_startingPool = startingPool;
|
||||
_picks = picks;
|
||||
}
|
||||
|
||||
@Override
|
||||
public CardCollection initializeNewCollection(long seed) {
|
||||
return _startingPool.getCardCollection(seed);
|
||||
return new DefaultCardCollection();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -15,7 +15,7 @@ import java.util.Map;
|
||||
public class SoloDraftDefinitions {
|
||||
private Map<String, SoloDraft> draftTypes = new HashMap<String, SoloDraft>();
|
||||
|
||||
public SoloDraftDefinitions(LotroCardBlueprintLibrary library) {
|
||||
public SoloDraftDefinitions() {
|
||||
try {
|
||||
final InputStreamReader reader = new InputStreamReader(LotroFormatLibrary.class.getResourceAsStream("/lotrDrafts.json"), "UTF-8");
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user