The Python 3.7 linter throws an error message complaining that:
Instance of 'Fighter' has no 'owner' member
and
Instance of 'BasicMonster' has no 'owner' member
It's a minor issue, and doesn't affect the actual operation of the code (i.e. it still works), but it's a bit of an annoyance. I'd propose that the following lines be added to the top of those two files in order to quiet the error:
# This prevents the linter from complaining that the component class has no owner member (it's defined in the entity class init)
# pylint: disable=no-member
The Python 3.7 linter throws an error message complaining that:
Instance of 'Fighter' has no 'owner' memberand
Instance of 'BasicMonster' has no 'owner' memberIt's a minor issue, and doesn't affect the actual operation of the code (i.e. it still works), but it's a bit of an annoyance. I'd propose that the following lines be added to the top of those two files in order to quiet the error: