public void DisplayMessage(Player player, ColorRGBA color, string message) { if (player == null) { MessagesBox.addLine(color.R, color.G, color.B, color.A, message); } else { MessagesBox.addLine(player, color.R, color.G, color.B, color.A, message); } }