Event modifs and README update

This commit is contained in:
KuMiShi committed 2026-01-31 23:13:26 +01:00
1 parent a6391f961d
commit 74f0df49bd
7 files changed
+57 -25

No files matched your search

+4
View File
@@ -21,6 +21,10 @@ class Event(Serializable):
def remove_entity(self, entity_id:str):
if entity_id in self.entities:
self.entities.remove(entity_id)
def add_entity(self, entity_id:str):
if not entity_id in self.entities:
self.entities.append(entity_id)
def get_current_turn(self):
idx = len(self.turns) - 1