aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime
diff options
context:
space:
mode:
Diffstat (limited to 'crates/fparkan-runtime')
-rw-r--r--crates/fparkan-runtime/src/projectile.rs5
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(