The base class Actor doesn't declare a (optional) actor attribute. The ActionWithActor has a non-optional actor attribute. This makes the type checker happier, and means we can have some actions that don't have actors. |
||
---|---|---|
.. | ||
__init__.py | ||
action.py | ||
game.py | ||
result.py |