Commit f8fdde9f authored by Ahmad Reza's avatar Ahmad Reza
Browse files

the global variable particle_counter has been deleted in particle.py

parent 4c7aec6a
......@@ -13,12 +13,10 @@ import logging, math
from lib import csv_generator, matter
from lib.swarm_sim_header import *
particle_counter=0
class Particle(matter.Matter):
"""In the classe marker all the methods for the characterstic of a marker is included"""
def __init__(self, world, x, y, color=black, alpha=1, particle_counter = particle_counter):
def __init__(self, world, x, y, color=black, alpha=1, particle_counter=0):
"""Initializing the marker constructor"""
super().__init__( world, (x, y), color, alpha,
type="particle", mm_size=world.config_data.particle_mm_size)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment