Event modifs and README update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user