Beispiel #1
0
 public void Init(int port, int playerCount)
 {
     gamePresenter      = GamePresenter.getInstance();
     server.Port        = port;
     server.PlayerCount = playerCount;
     server.Init();
 }
 public bool saleShare(CompanyType com, int count, int playerId)
 {
     return(GamePresenter.getInstance().saleShare(com, count, Game.getInstance().Companys[com].getPrice(), game.getNowPlayerIndex()));
 }