src/infinity/ecs/messaging/SimpleMessageDispatcher.java
/**
	 * Dispatches a {@link Message} which has been send by the specified endpoint to all other
	 * relevant endpoints.
	 * 
	 * @param sender The sender of the {@link Message}.
	 * @param msg The {@link Message} which should be dispatched.
	 */
Dispatches a  Message which has been send by the specified endpoint to all other
relevant endpoints.

@param sender The sender of the  Message.
@param msg The  Message which should be dispatched.
Dispatches a Message which has been send by the specified endpoint to all other relevant endpoints . @param sender The sender of the Message . @param msg The Message which should be dispatched .
void dispatch(SimpleMessageEndpoint sender, Message msg) {
		MessageType msgType = msg.getType();
		int msgId = msgType.getId();
		for (SimpleMessageEndpoint ep : _endpoints)
			if (ep != sender && ep._msgBits.get(msgId))
				ep.receive(msg);
	}
void dispatch ( SimpleMessageEndpoint sender , Message msg ) { MessageType msgType = msg . getType ( ) ; int msgId = msgType . getId ( ) ; for ( SimpleMessageEndpoint ep : _endpoints ) if ( ep != sender && ep . _msgBits . get ( msgId ) ) ep . receive ( msg ) ; }
Dispatches a {@link Message} which has been send by the specified endpoint to all other
 relevant endpoints.
Dispatches a { @link Message } which has been send by the specified endpoint to all other relevant endpoints .