diff --git a/assignments/src/MV3500Cohort2021JulySeptember/homework3/Fisher/ExampleSimulationProgramFisher.java b/assignments/src/MV3500Cohort2021JulySeptember/homework3/Fisher/ExampleSimulationProgramFisher.java index 85c665eb838a1092268179b4db54eafe78545e26..4b8cddc39ed0907be7f7fedfd7c39d03f693b294 100644 --- a/assignments/src/MV3500Cohort2021JulySeptember/homework3/Fisher/ExampleSimulationProgramFisher.java +++ b/assignments/src/MV3500Cohort2021JulySeptember/homework3/Fisher/ExampleSimulationProgramFisher.java @@ -143,7 +143,7 @@ public class ExampleSimulationProgramFisher System.out.println ("sending PDUs for simulation step " + simulationLoopCount + ", monitor loopback to confirm sent"); // Below is the PDU that comes out as "Comment" in the info - sendAllPdusForLoopTimestep(entityStatePdu_1, entityStatePdu_2, firePdu_1a, timeStepComment, narrativeMessage1, narrativeMessage2, narrativeMessage3); +// sendAllPdusForLoopTimestep(entityStatePdu_1, entityStatePdu_2, firePdu_1a, timeStepComment, narrativeMessage1, narrativeMessage2, narrativeMessage3); System.out.println ("... [PDUs successfully sent for this loop]"); @@ -312,13 +312,14 @@ public class ExampleSimulationProgramFisher // vararg... variable-length set of String comments can optionally follow String... comments) { - sendAllPdusForLoopTimestep (null, null, null, commentType, comments); +// sendAllPdusForLoopTimestep (null, null, null, commentType, comments); } - /** + /* * Send EntityState, Fire, Comment PDUs that got updated for this loop, reflecting state of current simulation timestep. * @see <a href="https://docs.oracle.com/javase/tutorial/java/javaOO/arguments.html">Passing Information to a Method or a Constructor</a> Arbitrary Number of Arguments * @param entityStatePdu1 the ESPDU to send, if any + * @param entityStatePdu2 the ESPDU to send, if any * @param firePdu the FirePDU to send, if any * @param detonationPdu the det to send * @param commentType enumeration value describing purpose of the narrative comment @@ -327,7 +328,7 @@ public class ExampleSimulationProgramFisher public void sendAllPdusForLoopTimestep(EntityStatePdu entityStatePdu1, EntityStatePdu entityStatePdu2, FirePdu firePdu, - //DetonationPdu detonationPdu, + DetonationPdu detonationPdu, VariableRecordType commentType, // vararg... variable-length set of String comments can optionally follow String... comments)