/** * gets the postion of the pull * * @return the position of the pull */ private int getPositionPull() throws RemoteException { return playground.getPositionPull(); }
/** * referee start's the trial * * @param nrGame is the number of the game * @param numTrial is the number of the trial */ private VectorTimestamp startTrial(int nrGame, int numTrial, VectorTimestamp vt) throws RemoteException { return playground.startTrial(nrGame, numTrial, vt); }
/** * referee makes a decision in the end of the trial or game * * @return A Team A wins * @return B Team B wins * @return C the game will continue * @return E the game is over */ private Object[] assertTrialDecision(VectorTimestamp vt) throws RemoteException { return playground.assertTrialDecision(vt); }
/** * sets the position of the pull to the center * * @param positionCenter is the center's position pull */ private VectorTimestamp setPositionPull(int positionCenter, VectorTimestamp vt) throws RemoteException { return playground.setPositionPull(positionCenter, vt); }