Print dots as prog bar instead of date (minutes)
Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
		
							parent
							
								
									71c07b5bc1
								
							
						
					
					
						commit
						480d9ccb46
					
				@ -46,7 +46,7 @@ public class MakkahCity {
 | 
				
			|||||||
			if (firstDayTimeMan.getCurrentCalendar().get(Calendar.MINUTE) == 0){
 | 
								if (firstDayTimeMan.getCurrentCalendar().get(Calendar.MINUTE) == 0){
 | 
				
			||||||
				System.out.println("\n\n" + getStreetsReport());
 | 
									System.out.println("\n\n" + getStreetsReport());
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			else System.out.printf("simulation time: %s\r", currenttimeManager.getCurrentTime());
 | 
								else System.out.print(".");
 | 
				
			||||||
			//Start of Every half-hour
 | 
								//Start of Every half-hour
 | 
				
			||||||
			if (firstDayTimeMan.getCurrentCalendar().get(Calendar.MINUTE) % 30 == 0){
 | 
								if (firstDayTimeMan.getCurrentCalendar().get(Calendar.MINUTE) % 30 == 0){
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -103,7 +103,7 @@ public class MakkahCity {
 | 
				
			|||||||
				//TODO: removed break here. now should schedule.
 | 
									//TODO: removed break here. now should schedule.
 | 
				
			||||||
				System.out.println("\n\n" + getStreetsReport());
 | 
									System.out.println("\n\n" + getStreetsReport());
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			else System.out.printf("simulation time: %s\r", currenttimeManager.getCurrentTime());
 | 
								else System.out.print(".");
 | 
				
			||||||
			//Start of Every half-hour
 | 
								//Start of Every half-hour
 | 
				
			||||||
			if (lastDayTimeMan.getCurrentCalendar().get(Calendar.MINUTE) % 30 == 0){
 | 
								if (lastDayTimeMan.getCurrentCalendar().get(Calendar.MINUTE) % 30 == 0){
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user