Kommentare 2: electric boogaloo
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
package com.bib.essensbestellungsverwaltung;
|
||||
/*
|
||||
@author Malte Schulze Hobeling
|
||||
*/
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
/**
|
||||
* simple cli showcase of the implemented functionality
|
||||
* @author Malte Schulze Hobeling
|
||||
*/
|
||||
public class ConsoleMain {
|
||||
static User currentUser = null;
|
||||
static boolean running = true;
|
||||
@@ -15,7 +16,7 @@ public class ConsoleMain {
|
||||
Database.fillDb();
|
||||
ConsoleLib.createWorkerPrompt();
|
||||
}
|
||||
AccountMgr.getPriceFromDb();
|
||||
AccountMgr.getPrice();
|
||||
while (running){
|
||||
if(currentUser == null){
|
||||
defaultMenu();
|
||||
|
||||
Reference in New Issue
Block a user