waterbearlang / moonshine

A programming language that maps nicely to blocks
2 stars 0 forks source link

Hue should be passed to block definitions from library #16

Open dethe opened 2 years ago

dethe commented 2 years ago

Because we only define hue in one place (on the library), but each type of block needs a hue, they need to inherit this somehow. Passing from the library object during parsing seems like the best approach.