Update _player.py

This commit is contained in:
Sasha 2022-06-16 20:24:52 +09:00 committed by GitHub
parent b2652a2748
commit 68a388c1d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,7 @@ from ba._messages import DeathType, DieMessage
if TYPE_CHECKING:
from typing import Optional, Sequence, Any, Union, Callable
import ba
from bastd.actor.playerspaz import PlayerSpaz
# pylint: disable=invalid-name
PlayerType = TypeVar('PlayerType', bound='ba.Player')
@ -62,6 +63,8 @@ class Player(Generic[TeamType]):
color: Sequence[float]
highlight: Sequence[float]
playerspaztype: type['PlayerSpaz']
_team: TeamType
_sessionplayer: ba.SessionPlayer
_nodeactor: Optional[ba.NodeActor]