• Ahmad Reza's avatar
    Many changes: · 21fe8a0a
    Ahmad Reza authored
    sim.py renamed to world.py
    run.py renamed to swarm-sim.py
    swarm-sim.py got a new structure for initializing the swarm-sim and calling the solution. The solution calling is independent from vis.py
    vis.py: The run method is renamed to draw_world. Solution is not called anymore inside of this method. A new variable called refresh_time is added. The draw window is getting refreshed after each solution has been called and refresh_time is over.
    header.py: in the lib a header.py is inserted. In this file all the standards color and direcotries are defined. As well some standard methods for checking or changing the directions.