From 07733f9856b19fdf79c279a809778983f9c4dfc7 Mon Sep 17 00:00:00 2001 From: brutzman <brutzman@nps.edu> Date: Thu, 2 Sep 2021 09:41:14 -0700 Subject: [PATCH] another error hidden, please fix --- .../homework3/Fisher/ExampleSimulationProgramFisher.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/assignments/src/MV3500Cohort2021JulySeptember/homework3/Fisher/ExampleSimulationProgramFisher.java b/assignments/src/MV3500Cohort2021JulySeptember/homework3/Fisher/ExampleSimulationProgramFisher.java index 85c665eb83..4b8cddc39e 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) -- GitLab