Skip to content

Commit

Permalink
Add demo_respawn_timer
Browse files Browse the repository at this point in the history
  • Loading branch information
VirxEC committed Dec 25, 2023
1 parent 0ea28f6 commit 816a1a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rlviser_py.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ from RocketSim import BallState, CarConfig, CarState, GameMode, Team
type TVec3 = Tuple[float, float, float]
type TRotmat = Tuple[TVec3, TVec3, TVec3]
type TBall = Tuple[TVec3, TRotmat, TVec3, TVec3]
type TCar = Tuple[int, TVec3, TRotmat, TVec3, TVec3, float, bool, bool, bool]
type TCar = Tuple[int, TVec3, TRotmat, TVec3, TVec3, float, bool, bool, bool, float]

def set_boost_pad_locations(locations: List[TVec3]) -> ...:
pass
Expand Down
3 changes: 2 additions & 1 deletion src/bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ pub struct CarInfo {
pub config: CarConfig,
}

pub type TCar = (u32, TVec3, TRotMat, TVec3, TVec3, f32, bool, bool, bool);
pub type TCar = (u32, TVec3, TRotMat, TVec3, TVec3, f32, bool, bool, bool, f32);

impl CarInfo {
#[inline]
Expand All @@ -243,6 +243,7 @@ impl CarInfo {
self.state.has_jumped,
self.state.has_double_jumped,
self.state.has_flipped,
self.state.demo_respawn_timer,
)
}
}
Expand Down

0 comments on commit 816a1a7

Please sign in to comment.