diff options
Diffstat (limited to 'crates/fparkan-runtime/src/projectile.rs')
| -rw-r--r-- | crates/fparkan-runtime/src/projectile.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/fparkan-runtime/src/projectile.rs b/crates/fparkan-runtime/src/projectile.rs index ff745655..312371d8 100644 --- a/crates/fparkan-runtime/src/projectile.rs +++ b/crates/fparkan-runtime/src/projectile.rs @@ -134,6 +134,11 @@ impl PlayerProjectile { }) } + /// Queue time at launch, retained when the projectile's pose changes. + pub fn born_ms(&self) -> u32 { + self.born_ms + } + /// Advances this projectile and returns whether it remains in flight. /// The callback identifies contacts with the world along the traveled segment. pub fn advance( |
