Skip to content
Snippets Groups Projects
Commit 07733f98 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

another error hidden, please fix

parent a48911bb
No related branches found
No related tags found
No related merge requests found
...@@ -143,7 +143,7 @@ public class ExampleSimulationProgramFisher ...@@ -143,7 +143,7 @@ public class ExampleSimulationProgramFisher
System.out.println ("sending PDUs for simulation step " + simulationLoopCount + ", monitor loopback to confirm sent"); 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 // 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]"); System.out.println ("... [PDUs successfully sent for this loop]");
...@@ -312,13 +312,14 @@ public class ExampleSimulationProgramFisher ...@@ -312,13 +312,14 @@ public class ExampleSimulationProgramFisher
// vararg... variable-length set of String comments can optionally follow // vararg... variable-length set of String comments can optionally follow
String... comments) 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. * 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 * @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 entityStatePdu1 the ESPDU to send, if any
* @param entityStatePdu2 the ESPDU to send, if any
* @param firePdu the FirePDU to send, if any * @param firePdu the FirePDU to send, if any
* @param detonationPdu the det to send * @param detonationPdu the det to send
* @param commentType enumeration value describing purpose of the narrative comment * @param commentType enumeration value describing purpose of the narrative comment
...@@ -327,7 +328,7 @@ public class ExampleSimulationProgramFisher ...@@ -327,7 +328,7 @@ public class ExampleSimulationProgramFisher
public void sendAllPdusForLoopTimestep(EntityStatePdu entityStatePdu1, public void sendAllPdusForLoopTimestep(EntityStatePdu entityStatePdu1,
EntityStatePdu entityStatePdu2, EntityStatePdu entityStatePdu2,
FirePdu firePdu, FirePdu firePdu,
//DetonationPdu detonationPdu, DetonationPdu detonationPdu,
VariableRecordType commentType, VariableRecordType commentType,
// vararg... variable-length set of String comments can optionally follow // vararg... variable-length set of String comments can optionally follow
String... comments) String... comments)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment