15 lines
305 B
Python
15 lines
305 B
Python
![]() |
from mesa import Agent, Model
|
||
|
|
||
|
from util.AgentIdFactory import AgentIdFactory
|
||
|
|
||
|
|
||
|
class AgentBase(Agent):
|
||
|
|
||
|
def __init__(self, model: Model):
|
||
|
unique_id = AgentIdFactory.get_next_id()
|
||
|
super().__init__(unique_id, model)
|
||
|
self.creation_log()
|
||
|
|
||
|
def creation_log(self):
|
||
|
pass
|