summaryrefslogtreecommitdiff
path: root/src/mass.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mass.rs')
-rw-r--r--src/mass.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mass.rs b/src/mass.rs
index 22862b6..800ef58 100644
--- a/src/mass.rs
+++ b/src/mass.rs
@@ -6,6 +6,7 @@ pub trait Mass : Any {
fn serialize(&self) -> String;
fn process(&mut self);
fn give_acceleration(&mut self, acceleration : (f64, f64, f64));
+ fn recv_velocity(&self) -> (f64, f64, f64);
fn box_clone(&self) -> Box<Mass>;
}