Commit graph

3 commits

Author SHA1 Message Date
Erik Ogenvik
4bfffd26fa Added tests for Mode and ModeSpec properties. 2016-01-20 16:13:03 +01:00
Erik Ogenvik
eb62195b2c Added a mode specification property.
This property tells how the entity should behave when put into
different modes. Currently we only allow for specific transformations
to occur.

The mode specifications are registed in properties where "mode-" forms
a prefix, and the mode a suffix. For example, "mode-planted".
This also does away with the "plantable" property.
2016-01-20 15:34:48 +01:00
Erik Ogenvik
4680f81ffb Altered signature to prevent ambiguity. 2016-01-20 15:34:48 +01:00