This method is called when your robot receives a message from a teammate. You should override it in your robot if you want to be informed of this event. Example:
public void onMessageReceived(MessageEvent event) { out.println(event.getSender() + " sent me: " + event.getMessage()); }
@param event the message event sent by the game
@see robocode.MessageEvent
@see robocode.Event
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.