mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-20 18:29:57 -04:00
Add variable creation and variable serialization
This commit is contained in:
parent
b39de6722f
commit
77cc01a38a
3 changed files with 26 additions and 8 deletions
src/engine
|
@ -15,6 +15,10 @@ class Variable {
|
|||
this.value = value;
|
||||
this.isCloud = isCloud;
|
||||
}
|
||||
|
||||
toXML () {
|
||||
return `<variable type="">${this.name}</variable>`;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Variable;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue