super().__init__(pos, model) in python code example
Example 1: super().__init__(pos, model) in python
def __init__(self, pos, model, agent_type):
super().__init__(pos, model)
self.pos = pos
self.type = agent_type
Example 2: super().__init__(pos, model) in python
def __init__(self, pos, model, agent_type):
super().__init__(pos, model)
self.pos = pos
self.type = agent_type