Create class for a text field so the player can enter text.