Add variable creation and variable serialization

This commit is contained in:
Paul Kaplan 2017-05-25 11:44:49 -04:00
parent b39de6722f
commit 77cc01a38a
3 changed files with 26 additions and 8 deletions
src/engine

View file

@ -15,6 +15,10 @@ class Variable {
this.value = value;
this.isCloud = isCloud;
}
toXML () {
return `<variable type="">${this.name}</variable>`;
}
}
module.exports = Variable;