Code Cleanup
This commit is contained in:
		
							parent
							
								
									e2c6b5cb49
								
							
						
					
					
						commit
						70a2179cce
					
				| 
						 | 
					@ -1,3 +1,7 @@
 | 
				
			||||||
 | 
					(X:28, Y:22)
 | 
				
			||||||
 | 
					(X:31, Y:22)
 | 
				
			||||||
 | 
					(X:34, Y:22)
 | 
				
			||||||
 | 
					(X:37, Y:22)
 | 
				
			||||||
(X:40, Y:22)
 | 
					(X:40, Y:22)
 | 
				
			||||||
(X:43, Y:22)
 | 
					(X:43, Y:22)
 | 
				
			||||||
(X:46, Y:21)
 | 
					(X:46, Y:21)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -94,7 +94,7 @@ public class Game implements GameSpecification {
 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                            if(selectedFile != null){
 | 
					                            if(selectedFile != null){
 | 
				
			||||||
                                try {
 | 
					                                try {
 | 
				
			||||||
                                    moveStrategy = new PathFollowerMoveStrategy(selectedFile, track.getCarPos(currentCarIndex));
 | 
					                                    moveStrategy = new PathFollowerMoveStrategy(selectedFile, track.getCarPos(i));
 | 
				
			||||||
                                } catch (FileNotFoundException e) {
 | 
					                                } catch (FileNotFoundException e) {
 | 
				
			||||||
                                    userInterface.printInformation("There is no Point-List implemented. Choose another Strategy!");
 | 
					                                    userInterface.printInformation("There is no Point-List implemented. Choose another Strategy!");
 | 
				
			||||||
                                }
 | 
					                                }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue