neuropercolation/src/cellular_automaton/ca_cell.py

8 lines
216 B
Python
Raw Normal View History

2018-12-01 19:37:18 +00:00
class Cell:
2019-01-05 14:12:07 +00:00
def __init__(self, name, coordinate: list):
2018-12-01 19:37:18 +00:00
self.name = name
2018-12-02 16:45:08 +00:00
self.coordinate = coordinate
2018-12-01 19:37:18 +00:00
self.neighbours = []
2018-12-09 10:20:16 +00:00
self.state = None
2019-01-05 14:12:07 +00:00
self.is_set_for_redraw = False