Closed darozak closed 4 months ago
It turns out that the robot can not pass changes to myAction back to the game engine via the run function's argument because in most cases the robot writes over myAction and destroys the link to the game engine object. Therefore, robots must submit their actions via the return functions. However, I did remove myAction from the run function arguments since this is not needed (https://github.com/darozak/Advolition/commit/3d64519ee5452a308598afcfbb64c42bae3ce26f).
The robots shouldn't need to return myAction. Rather, they just need to update the object that is passed to them from the game engine.