SI_InteligentnyWozekWidlowy/PatchAgent.py
2022-04-16 14:55:25 +02:00

15 lines
375 B
Python

from mesa import Agent, Model
from AgentBase import AgentBase
from PatchType import PatchType
class PatchAgent(AgentBase):
def __init__(self, model, patch_type: PatchType):
self.patch_type = patch_type
super().__init__(model)
def creation_log(self):
print("Created Patch Agent [id: {} ,type: {}]".format(self.unique_id, self.patch_type))