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
The basic idea is objects in a simulation need to communicate with each other at certain times, and we want to do that in such a way that there aren't unnecessary inter-dependencies, for example, a spaceship detects a new planet and sends a message to its home base. We want the message to send and function regardless of whether or not there is a home base to receive it.
The premise is going to be creating an entity with a MessageSystem component that handles all of our messages. Entities can subscribe to the message system and, when subscribed, they can either send messages to the system or receive messages from the system. This prevents potential dependency problems of entities being directly dependent on each other for sending and receiving of messages, as all messages are sent to and handled by the MessageSystem component.
The text was updated successfully, but these errors were encountered:
The basic idea is objects in a simulation need to communicate with each other at certain times, and we want to do that in such a way that there aren't unnecessary inter-dependencies, for example, a spaceship detects a new planet and sends a message to its home base. We want the message to send and function regardless of whether or not there is a home base to receive it.
The premise is going to be creating an entity with a MessageSystem component that handles all of our messages. Entities can subscribe to the message system and, when subscribed, they can either send messages to the system or receive messages from the system. This prevents potential dependency problems of entities being directly dependent on each other for sending and receiving of messages, as all messages are sent to and handled by the MessageSystem component.
The text was updated successfully, but these errors were encountered: