move¶
Syntax¶
Parameters¶
<place_name>- Optional. Name of agent's place for which its site will be moved. If omitted, the acting agent itself will be moved.
<x>- Distance in meters to move East or West. Positive is East, negative is West.
<y>- Distance in meters to move North or South. Positive is North, negative is South.
Description¶
Action that moves an agent's place <x> meters eastward and <y> meters
westward. If there are only two arguments, then the acting agent is moved.
Examples¶
The following moves the acting agent's place named Car 100 meters East and 50 meters South.
The following moves the acting agent 100 meters East and 50 meters South.