aroberge / reeborg

Enhanced Karel-the-robot clone
http://reeborg.ca/reeborg.html
Other
47 stars 36 forks source link

Make it easier to use custom object adding #309

Closed aroberge closed 7 years ago

aroberge commented 8 years ago

When using RUR.add_object_at_position and RUR.add_goal_object_at_position, either set the nb of objects at 1 by default, or return an error if the number of expected parameters is not found (i.e. 4 in this case). This will make it easier for word creator to avoid hard to understand mistakes.

aroberge commented 7 years ago

This has been taken care of in the development version.