示例#1
0
 /**
  * gets the postion of the pull
  *
  * @return the position of the pull
  */
 private int getPositionPull() throws RemoteException {
   return playground.getPositionPull();
 }
示例#2
0
  /**
   * 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);
  }
示例#3
0
  /**
   * 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);
  }
示例#4
0
 /**
  * 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);
 }