mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-28 18:15:45 +08:00
Update _player.py
This commit is contained in:
parent
b2652a2748
commit
68a388c1d5
@ -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]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user