From: Martin B. <dr....@t-...> - 2014-03-15 21:03:08
|
Am 15.03.2014 22:01, schrieb Martin Brumm: > Hi Stefan, > > sorry your Right, and i am wrong. I was referring to StartRound_1880 > not StartCompany_1880. > Now why did i introduce StartCompany_1880: > > To make implement a mechanismn to handly buying rights and the parslot > indices. > > The call to StartCompany_1880 is in StockRound_1880 at line 204 > > StartCompany_1880 action = new StartCompany_1880(comp, convertedPrices); > > Kind Regards, > Martin > Further Call to StartCompany_1880 from StockRound_1880 is in function process: @Override public boolean process(PossibleAction action) { boolean result; String playerName = action.getPlayerName(); if (action instanceof StartCompany) { StartCompany_1880 startCompanyAction = (StartCompany_1880) action; result = startCompany(playerName, startCompanyAction); return result; } else { return super.process(action); } } |