We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2eec834 commit 3d554a4Copy full SHA for 3d554a4
tests/necto/rlgym_compat/player_data.py
@@ -2,13 +2,14 @@
2
3
4
class PlayerData(object):
5
- car_id: int = -1
6
- team_num: int = -1
7
- is_demoed: bool = False
8
- on_ground: bool = False
9
- ball_touched: bool = False
10
- has_jump: bool = False
11
- has_flip: bool = False
12
- boost_amount: float = -1
13
- car_data: PhysicsObject = PhysicsObject()
14
- inverted_car_data: PhysicsObject = PhysicsObject()
+ def __init__(self):
+ self.car_id: int = -1
+ self.team_num: int = -1
+ self.is_demoed: bool = False
+ self.on_ground: bool = False
+ self.ball_touched: bool = False
+ self.has_jump: bool = False
+ self.has_flip: bool = False
+ self.boost_amount: float = -1
+ self.car_data: PhysicsObject = PhysicsObject()
15
+ self.inverted_car_data: PhysicsObject = PhysicsObject()
0 commit comments