Refactoring Agent, Character into Agent base class

This commit is contained in:
Matthew DeMartino
2021-05-22 23:16:33 -04:00
parent db3cac000e
commit 947623c42d
7 changed files with 104 additions and 75 deletions
+1
View File
@@ -0,0 +1 @@
from dungeonsheets.encounter.encounter import Encounter
+1
View File
@@ -7,6 +7,7 @@ class Encounter:
if len(parties) is not 2:
raise NotImplementedError("Haven't implemented AI for 3+ groups") # TODO: Implement this
# Combine all parties into a single group
self.all_agents = parties[0]
for party in parties[1:]:
self.all_agents += party