private String createFullMessageText(String senderName,String receiverName,String text){
  if (senderName.equals(receiverName)) {
    return "You mutter to yourself: " + text;
  }
 else {
    return senderName + " tells you: " + text;
  }
}

private String createFullMessageText ( String senderName , String receiverName , String text ) { if ( senderName . equals ( receiverName ) ) { return "You mutter to yourself: " + text ; } else { return senderName + " tells you: " + text ; } }
creates the full message based on the text provided by the player
