summaryrefslogtreecommitdiff
path: root/src/mass.rs
diff options
context:
space:
mode:
authortom barrett <spalf0@gmail.com>2018-03-13 04:58:12 -0500
committertom barrett <spalf0@gmail.com>2018-03-13 04:58:12 -0500
commit7a4403d2a26250c82b6f089de3b56e076c69e39a (patch)
tree19c77c86b841abfcd93c81d67a1ed4e32e07da72 /src/mass.rs
parent74e1c462f6dfa76243917ef358195f057c236b5d (diff)
-added matching velocity vector of target and creating a velocity vector to target
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>;
}