package lectures.inheritance_vs_delegation.mvc;
import util.annotations.WebDocuments;
import lectures.main_consoleinput.Console;
@WebDocuments({"Lectures/InheritanceVsDelegationMvc.pptx", "Lectures/InheritanceVsDelegationMvc.pdf", "Videos/InheritanceVsDelegationMvc.avi"})
public class ACounterWithConsoleViewAndController
extends ACounterWithConsoleView
implements CounterWithController {
public void processInput() {
while (true) {
int nextInput = Console.readInt();
if (nextInput == 0) return;
add(nextInput);
}
}
}