Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ahmad Reza Cheraghi
swarm-sim
Commits
4b9df01d
Commit
4b9df01d
authored
Mar 11, 2019
by
Ahmad Reza Cheraghi
Browse files
Update two_particles_tiles_locations.py
parent
fed1ec64
Changes
1
Hide whitespace changes
Inline
Side-by-side
scenario/two_particles_tiles_locations.py
View file @
4b9df01d
...
...
@@ -2,7 +2,7 @@
A sim is created that has two particles, two locations, and two tiles.
"""
def
create_
scenario
(
sim
):
def
scenario
(
sim
):
sim
.
add_particle
(
0
,
0
)
sim
.
add_particle
(
1
,
0
)
sim
.
add_location
(
0.5
,
1
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment