11 lines
284 B
Python
11 lines
284 B
Python
from mesa import Agent, Model
|
|
|
|
from PatchType import PatchType
|
|
|
|
|
|
class PatchAgent(Agent):
|
|
|
|
def __init__(self, unique_id, model, type: PatchType):
|
|
super().__init__(unique_id, model)
|
|
self.type = type
|
|
print("Created Patch Agent with ID: {}".format(unique_id)) |