Skip to content

Commit

Permalink
Boundary object radius changed
Browse files Browse the repository at this point in the history
  • Loading branch information
aadeshnpn committed Sep 21, 2021
1 parent 1a2611d commit b919441
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions examples/nestm_evolution/world.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
"y":0,
"radius":10
}],

"boundary": [
{
"x":40,
"y":40,
"radius":8
"x":30,
"y":30,
"radius":10
}
],
"traps": [
Expand Down
2 changes: 1 addition & 1 deletion swarms/lib/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def __init__(self, id=1, location=(0, 0), radius=2):
class Debris(Carryable):
"""Debris object."""

def __init__(self, id=1, location=(0, 0), radius=2, weight=5):
def __init__(self, id=1, location=(0, 0), radius=2):
"""Initialize."""
super().__init__(id, location, radius)

Expand Down

0 comments on commit b919441

Please sign in to comment.