Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jessegeens/swop1920
Browse files Browse the repository at this point in the history
  • Loading branch information
Aram1997 committed Mar 13, 2020
2 parents 4c72fe5 + 5324c07 commit 29c0251
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .vscode/settings.json

This file was deleted.

Binary file modified diagrams/structural_overview/SWOP_Structural_Overview.pdf
Binary file not shown.
Binary file modified diagrams/structural_overview/SWOP_Structural_Overview.vpp
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions src/main/GlobalController.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public void execute(){
startRunning();
setCurrent(this.modelController.getPWindow().getStartBlock());
}
System.out.println("now executing: " + getCurrent().getBlockType().getType());
step();
if(this.getCurrent().equals(this.getModelController().getPWindow().getFinishBlock())) stopRunning();
else{
Expand Down Expand Up @@ -152,6 +153,7 @@ public void startRunning(){
public void stopRunning(){
this.running = false;
if(!this.getCurrent().equals(this.getModelController().getPWindow().getFinishBlock())) findNextBlock().setUnHighlight();
else this.getCurrent().setUnHighlight();
this.getModelController().setGrid(new ModelGrid(MyCanvasWindow.WIDTH/3, MyCanvasWindow.HEIGHT, GOAL_CELL, ROBOT_START_LOCATION, ROBOT_START_DIRECTION, new ArrayList<Location>(), CELL_SIZE));
this.getCurrent().setUnHighlight();
}
Expand Down

0 comments on commit 29c0251

Please sign in to comment.