Hello there, I’m trying to implement a class that inherits an interface in verse. But I would like to allow my team to select any device that implements that interface in the editor. How can I achieve that? Example of my code:
animal_interface := interface:
eat(food : string) : void
emit_sound(sound : string) : void
lion_device := class(creative_device, animal_interface):
...
gorilla := class(creative_device, animal_interface):
...
zookeeper_device := class(creative_device):
@editable
associated_animal : animal_interface = ??????? # could be lion_device or gorilla_device
PS.: I didn’t found any implementation example from interface at documentation.