Data
Atoms can carry data.
Use the data
keyword to shows what data the atom holds, and its default value.
element Sand {
data isWet false
data temperature 15
}
Last updated
Was this helpful?
Atoms can carry data.
Use the data
keyword to shows what data the atom holds, and its default value.
element Sand {
data isWet false
data temperature 15
}
Last updated
Was this helpful?