this.toPlayer=toNode;
}
public static Chat getNewInstance(final Player fromNode,final Player toNode,final String msg) {
final Chat chat = new ChatImpl(fromNode, toNode, msg);
//register the chat in the game engine
GameEngine.instance().getChatHistory().add(chat);
return chat;
}