Adding The Two Towers block format.

This commit is contained in:
marcins78@gmail.com
2011-10-16 22:24:51 +00:00
parent 641311cb52
commit 796e66ae65
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package com.gempukku.lotro.game.formats;
import com.gempukku.lotro.common.Block;
import com.gempukku.lotro.game.LotroCardBlueprintLibrary;
public class TTTBlockFormat extends DefaultLotroFormat {
public TTTBlockFormat(LotroCardBlueprintLibrary library) {
super(library, Block.TWO_TOWERS, true, 60, 4);
addValidSet(4);
addValidSet(5);
addValidSet(6);
}
@Override
public boolean isOrderedSites() {
return true;
}
}

View File

@@ -9,6 +9,7 @@ import com.gempukku.lotro.game.*;
import com.gempukku.lotro.game.formats.FotRBlockFormat;
import com.gempukku.lotro.game.formats.FreeFormat;
import com.gempukku.lotro.game.formats.LotroFormat;
import com.gempukku.lotro.game.formats.TTTBlockFormat;
import com.gempukku.lotro.league.LeagueService;
import com.gempukku.lotro.logic.vo.LotroDeck;
@@ -43,6 +44,7 @@ public class HallServer extends AbstractServer {
_chatServer.createChatRoom("Game Hall");
addFormat("fotr_block", "Fellowship block", "default", new FotRBlockFormat(_lotroServer.getLotroCardBlueprintLibrary()));
addFormat("ttt_block", "The Two Towers block", "default", new TTTBlockFormat(_lotroServer.getLotroCardBlueprintLibrary()));
addFormat("whatever", "Format for testing", "default", new FreeFormat(_lotroServer.getLotroCardBlueprintLibrary()));
}