summaryrefslogtreecommitdiff
path: root/src/xmlelements.rs
diff options
context:
space:
mode:
authortom barrett <spalf0@gmail.com>2019-06-27 03:31:33 -0500
committertom barrett <spalf0@gmail.com>2019-06-27 03:31:33 -0500
commitee8d055be8326eb1561900bcca6acd9e38071f4a (patch)
treeadc6da1976866de4b3bf436f99e6eac673af2df3 /src/xmlelements.rs
parentf7bbf5646c8220bca2fbd9451d5c234049cf9225 (diff)
tiles can now animate
Diffstat (limited to 'src/xmlelements.rs')
-rw-r--r--src/xmlelements.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xmlelements.rs b/src/xmlelements.rs
index d05e9ff..ea880c8 100644
--- a/src/xmlelements.rs
+++ b/src/xmlelements.rs
@@ -5,11 +5,11 @@ use xml::reader::{
XmlEvent::{self, EndElement, StartElement},
};
-#[derive(Debug)]
+#[derive(Debug, Clone)]
pub struct Property {
- entity: String,
- keyframe: usize,
- delay: usize,
+ pub entity: String,
+ pub keyframe: usize,
+ pub delay: usize,
}
impl Property {