Changes between Version 28 and Version 29 of ProtocolZero


Ignore:
Timestamp:
Jun 7, 2011 3:11:26 PM (13 years ago)
Author:
jherwitz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ProtocolZero

    v28 v29  
    131131'''GOD'''
    132132* Group-based sensor functions. Used to send data back to GOD client.
    133  * getPositions [VOID] - returns list of all Quagent positions
    134  * getMetric [METRIC] - returns evaluation of given metric (TBD).
     133 * getPositions [VOID] - returns list of all Quagent positions.
     134 * setGravity [GRAVITY] - sets global gravity.
     135 * slomo [SLOW_FACTOR] - slows down all game actions by SLOW_FACTOR.
     136 * speedup [SPEED_FACTOR] - speeds up all game actions by SPEED_FACTOR.
     137 * drop[ITEM,LOCATION] - places ITEM at LOCATION.
     138 * move[BOT,LOCATION] - moves specified Quagent to specified LOCATION.
     139 * look[POSITION,DIRECTION] - produces a snapshot taken from POSITION facing DIRECTION.
     140 * findDist [POSITION1, POSITION2] - returns the distance between two points.
     141 * setHealth [BOT,HEALTH] - sets Quagent's health to HEALTH.
     142 * setArmor [BOT,ARMOR] - sets Quagent's armor to ARMOR.
     143 * isWithin [BOT,SPACE] - determines if Quagent is within the specified SPACE.
     144 * listen [POSITION] - listens for Quagent communications at the given POSITION.
     145 * pause [VOID] - global pause. calling this while paused acts as a resume.
     146
     147
    135148* We also want GOD functions that can change the world state. These are TBD.
    136149