Last Site Update: 18 January 2010

GWAP API

Class

   java.lang.Object
     extended byHumanComputation.GWAP.Round
   public abstract class Round
   extends java.lang.Object

This class is a container which records anything about the round in a game.

Constructor

  • Round

    public Round() Creates an empty round.

Method

abstract
java.lang.String
getParameter (java.lang.String str)
Get a specific parameter of this round.
abstract voidsetParameter (java.lang.String name, java.lang.String value)
Set a specific parameter of this round.

Method Detail

  • getParameter

    public abstract java.lang.String getParameter(java.lang.String str)

    Get the specific parameter of this round. (This method cannot be overridden.)

      Parameter -
      str - the name of this specific parameter
      Return -
      the value of this parameter

     

  • setParameter

    public abstract void setParameter(java.lang.String name, java.lang.String value)

    Set a specific parameter of this round. (This method cannot be overridden.)

      Parameter -
      name - the name of parameter.
      value - the value of parameter.