SI_InteligentnyWozekWidlowy/AgentBase.py

15 lines
305 B
Python
Raw Normal View History

2022-04-16 14:55:25 +02:00
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