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 955f84d..8c50348 100644
--- a/src/mass.rs
+++ b/src/mass.rs
@@ -6,6 +6,7 @@ pub trait Mass : Any {
fn location(&self) -> (isize, isize, isize);
fn set_location(&mut self, location : (isize, isize, isize));
fn serialize(&self) -> String;
+ fn deserialize(&mut self, data : &str);
}
downcast!(Mass);