Robot
Constructs and initializes a robot at the specified (x,y)
location in the coordinate space.
Parameters
the X coordinate of the newly constructed robot
the Y coordinate of the newly constructed robot
Constructs and initializes a robot at the specified (x,y)
location with the viewing direction UP
and 0 coins.
Parameters
the X coordinate of the newly constructed robot
the Y coordinate of the newly constructed robot
the family of this robot
Constructs and initializes a robot at the specified (x,y)
location, viewing direction and number of coins.
Parameters
the X coordinate of the newly constructed robot
the Y coordinate of the newly constructed robot
the viewing direction of the newly constructed robot
the number of coins of the newly constructed robot
Constructs and initializes a robot at the specified (x,y)
location, viewing direction and number of coins.
Parameters
the X coordinate of the newly constructed robot
the Y coordinate of the newly constructed robot
the viewing direction of the newly constructed robot
the number of coins of the newly constructed robot
the family of the newly constructed robot
Constructs and initializes a robot at the specified (x,y)
location with the viewing direction UP
and 0 coins and places it on the given world.
Parameters
the world to place the newly constructed robot in
the X coordinate of the newly constructed robot
the Y coordinate of the newly constructed robot
Constructs and initializes a robot at the specified (x,y)
location with the viewing direction UP
and 0 coins and places it on the given world.
Parameters
the world to place the newly constructed robot in
the X coordinate of the newly constructed robot
the Y coordinate of the newly constructed robot
the family of the newly constructed robot
Constructs and initializes a robot at the specified (x,y)
location, viewing direction, number of coins and places it on the given world.
Parameters
the world to place the newly constructed robot in
the X coordinate of the newly constructed robot
the Y coordinate of the newly constructed robot
the viewing direction of the newly constructed robot
the number of coins of the newly constructed robot
Constructs and initializes a robot at the specified (x,y)
location, viewing direction, number of coins and places it on the given world.
Parameters
the world to place the newly constructed robot in
the X coordinate of the newly constructed robot
the Y coordinate of the newly constructed robot
the viewing direction of the newly constructed robot
the number of coins of the newly constructed robot
the family of the newly constructed robot
Constructs and initializes a robot with the properties of the specified robot.
Parameters
the robot to copy its properties
Constructs and initializes a robot at the specified (x,y)
location, viewing direction and number of coins.
Parameters
if true
then it is a copy constructor
the X coordinate of the newly constructed robot
the Y coordinate of the newly constructed robot
the viewing direction of the newly constructed robot
the number of coins of the newly constructed robot