SI_InteligentnyWozekWidlowy/PatchAgent.py
Aleksander Szamałek 522b29269d engine improvements
2022-05-22 16:27:36 +02:00

15 lines
447 B
Python

from AgentBase import AgentBase
from PatchType import PatchType
from util.PathDefinitions import GridLocation
class PatchAgent(AgentBase):
def __init__(self, model, location: GridLocation, patch_type: PatchType):
self.location = location
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))