Updated API Robot (markdown)

Florian Nücke 2014-03-14 01:25:13 -07:00
parent 9dcb641e0a
commit 9d4cff25e1

@ -1,4 +1,4 @@
This API abstracts the computer component of a robot to allow more intuitive interaction with it. This means it is really just a very thin wrapper. This API is only loaded when the computer is actually a robot. Note that it is still in the ROM file system for normal computers, it just isn't automatically loaded.
This API abstracts the computer component of a robot to allow more intuitive interaction with it. This means it is really just a very thin wrapper. This API is only available when the computer is actually a robot.
- `robot.level(): number`
Gets the current level of the robot, with the fractional part being the percentual progress towards the next level. For example, if this is `1.5`, then the robot is level one, and 50% towards achieving level two.