Private robotPrivate serverA object contains every robot data.
If it is successfully sent to the server, it will return true. Otherwise it will return an error message
Move a robot to the specified coordinates
If you wanna remove robots with id '123' and id '456'.
app.scene.exitRobot(['123', '456'])
Error message
robots id list
If it is successfully sent to the server, it will return true. Otherwise it will return an error message
Move a robot to the specified coordinates
If you wanna move a robot to [2,3] and say "hello".
app.scene.moveRobot('123', 2, 3, 'hello')
Error message
robot id
x-coordinate
y-coordinate
words said after moving to position
If it is successfully sent to the server, it will return true. Otherwise it will return an error message
Private getPrivate randomGenerated using TypeDoc
Add robot from data list
Example
If you wanna add a robot with id 123.
Throws
Error message