World Objects#
Three actor types can be placed on a RobotWorld grid.
They are created automatically by load_world / task when the WorldConfig
lists them in objects, but you can also place them manually via
world.add_object(Leaf, (col, row)).
Class |
Color |
Blocks robot |
Collectable |
|---|---|---|---|
|
green |
No |
Yes, use |
|
red |
Yes |
No |
|
dark green |
Yes |
No |