You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow defining messages inside the component definition body of the yaml document, so messages that are only relevant to a single component can be grouped more easily. This doesn't need to (but can, if it improves performance) have any semantic meaning, this issue just concerns the yaml layout.
The text was updated successfully, but these errors were encountered:
Since messages are a form of inter-component communication, it seems this is a workaround to add convenience methods to specific Entitys. Perhaps it would be better to allow generating some form of delegator into the entities instead.
FireEntity fire = new FireEntity();
fire.Extinguish(0); // -> fire.r_IgniteableComponent.Extinguish(0)
Of course this has the potential to be very verbose in the yaml file if one would be to add delegators to every entity. But so would be adding new message types for everything to components.
Allow defining messages inside the component definition body of the yaml document, so messages that are only relevant to a single component can be grouped more easily. This doesn't need to (but can, if it improves performance) have any semantic meaning, this issue just concerns the yaml layout.
The text was updated successfully, but these errors were encountered: