Module rbot::modules

source ·

Structs§

Enums§

Functions§

  • Blocks execution until the remaining cooldown of the module expires.
  • Activates a force field that grants temporary invincibility to the robot.
  • Retrieves the absolute position (x, y) of the robot from the center of the map using GPS.
  • Sends a laser scan at a specified angle to detect an object within the robot’s line of sight.
  • Drops a mine that activates after a short duration.
  • Initiates a radar pulse to detect the closest enemy robot and retrieves the position and distance relative to your robot.
  • Repairs the specified robot component, restoring it to a significantly healthier state.
  • Initiates a 360-degree scan to detect nearby objects around the robot within a specified range.
  • Retrieves the status of a specific module.
  • DEPRECATED Teleports the robot to the specified coordinates (x, y) relative to the robot within the game environment.
  • Activates a thruster to swiftly move the robot a short distance in the specified global angle.