It would be nice to attach external hooks to bulletml actions. For example for a change_color action could be implemented using a function ('a -> 'a) -> ('a obj -> 'a obj) that changes some private state within the obj (where it is possible to store the color or a sprite).
It would be nice to attach external hooks to bulletml actions. For example for a
change_color
action could be implemented using a function('a -> 'a) -> ('a obj -> 'a obj)
that changes some private state within the obj (where it is possible to store the color or a sprite).