first pipeline framework

This commit is contained in:
yzlin 2023-09-23 01:43:48 +08:00
parent bbffb3f135
commit 2e6cc6540b
15 changed files with 445 additions and 6 deletions

View file

@ -49,7 +49,6 @@ class Trump(Role):
super().__init__(name, profile, **kwargs)
self._init_actions([ShoutOut])
self._watch([ShoutOut])
self.name = "Trump"
self.opponent_name = "Biden"
async def _observe(self) -> int:
@ -89,7 +88,6 @@ class Biden(Role):
super().__init__(name, profile, **kwargs)
self._init_actions([ShoutOut])
self._watch([BossRequirement, ShoutOut])
self.name = "Biden"
self.opponent_name = "Trump"
async def _observe(self) -> int: