public void Start(int playerCount) { Game.getInstance().reset(playerCount); mixIndex(); roundCount = 0; MainPlayerPresenter.getInstance().initTiles(); mainWindow.RoundStart(); }
public GamePresenter(int pCount = 8) { bPresenter = BoardPresenter.getInstance(); mainPlayerPresenter = MainPlayerPresenter.getInstance(); selectWindow = new SelectCompany(); handleShareWindow = new HandleShare(); buyWindow = new SaleAndBuy(); game = Game.getInstance(); roundIndex = new int[pCount]; for (int i = 0; i < pCount; i++) { roundIndex[i] = i; } }