invoke factory method instead of constructor

master
melvin 2011-07-16 12:17:25 +08:00
parent 2c356dc766
commit 48697c69b2
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ public class MagicTournament {
final MagicPlayer start = startPlayer == 0 ? player : opponent;
//create game
final MagicGame game = new MagicGame(
final MagicGame game = MagicGame.create(
this,
MagicDefaultGameplay.getInstance(),
new MagicPlayer[]{player,opponent},