I\'m writing a command-line game where the user inputs a command. This is the class for the user-interface:
public class UserInterface { private int loops = 0;