コード例 #1
0
ファイル: RuntimeGame.cs プロジェクト: ycarowr/Pandemon1um
 public GameMechanics(IGame game)
 {
     StartGame        = new StartGame(game);
     FinishGame       = new FinishGame(game);
     HandLibrary      = new HandLibrary(game);
     PreStartGame     = new PreStartGame(game);
     HandGraveyard    = new HandGraveyard(game);
     StartPlayerTurn  = new StartPlayerTurn(game);
     FinishPlayerTurn = new FinishPlayerTurn(game);
 }
コード例 #2
0
 public GameMechanics(IGame game)
 {
     HandPool         = new HandPool(game);
     StartGame        = new StartGame(game);
     HandBoard        = new HandBoard(game);
     FinishGame       = new FinishGame(game);
     PoolLibrary      = new PoolLibrary(game);
     HandLibrary      = new HandLibrary(game);
     PreStartGame     = new PreStartGame(game);
     StartPlayerTurn  = new StartPlayerTurn(game);
     FinishPlayerTurn = new FinishPlayerTurn(game);
 }