def get_text_objects(msg, font, color):
    """Return the text objects needed to display a given message"""
    textSurface = font.render(msg, True, color)
    return textSurface, textSurface.get_rect()