Skip to content

Commit 8ecce4e

Browse files
committed
small javadoc update
1 parent 1b2510f commit 8ecce4e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/backend/CreateFile.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package backend;
22

33
import java.io.File;
4-
import java.nio.file.Files;
54
import java.util.Formatter;
65

76
public class CreateFile {

src/gui/ControlPanel.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,9 @@ public void actionPerformed(ActionEvent e) {
678678
}
679679
}
680680

681+
/**
682+
* Starts a simulation if possible (ie checks to make sure parameters are sufficient)
683+
*/
681684
private void startSim()
682685
{
683686
if(canStart)
@@ -802,6 +805,9 @@ else if(Integer.parseInt(numPeopleField.getText()) < 2 || Integer.parseInt(numPe
802805
}
803806
}
804807

808+
/**
809+
* Resumes a simulation after setting or info panel closes
810+
*/
805811
public void resumeSim()
806812
{
807813
simEngine.getClock().start();

0 commit comments

Comments
 (0)