mirror of
https://gitlab.com/arnekeller/kit-programmieren-ws1920-final2.git
synced 2024-11-12 19:53:11 +00:00
Checkstyle
This commit is contained in:
parent
3ba69ce595
commit
ac50150bad
@ -30,11 +30,11 @@ public final class CommandLine {
|
|||||||
*/
|
*/
|
||||||
public static void startInteractive() {
|
public static void startInteractive() {
|
||||||
// create a new simulation
|
// create a new simulation
|
||||||
CardGame simulation = new CardGame();
|
final CardGame simulation = new CardGame();
|
||||||
boolean lost = false;
|
boolean lost = false;
|
||||||
// accept user input indefinitely
|
// accept user input indefinitely
|
||||||
while (true) {
|
while (true) {
|
||||||
String input = Terminal.readLine();
|
final String input = Terminal.readLine();
|
||||||
|
|
||||||
// handle quit command
|
// handle quit command
|
||||||
if (input.startsWith(QUIT)) {
|
if (input.startsWith(QUIT)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user