diff --git a/examples/src/OpenDis7Examples/ExampleSimulationProgram.java b/examples/src/OpenDis7Examples/ExampleSimulationProgram.java index aa798ba67e5895baed22ff3f051b015b82189b38..52d83df2c1bcf3f449b182f70319b193a0b0a5e4 100644 --- a/examples/src/OpenDis7Examples/ExampleSimulationProgram.java +++ b/examples/src/OpenDis7Examples/ExampleSimulationProgram.java @@ -16,7 +16,8 @@ import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; -/** The purpose of this program is to provide an easily modifiable example simulation program. */ +/** The purpose of this program is to provide an easily modifiable example simulation program + * that includes DIS-capable entities doing tasks and reporting them. */ public class ExampleSimulationProgram { /** @@ -39,7 +40,7 @@ public class ExampleSimulationProgram */ public ExampleSimulationProgram() { - // Under consideration. Constructor is not currently needed. + // Constructor is under consideration. Constructor is not currently needed. } /** @@ -238,7 +239,8 @@ public class ExampleSimulationProgram FirePdu firePdu = pduFactory.makeFirePdu(); // should we customize this munition? what is it for your simulation? - while (loopCount < MAX_LOOP_COUNT) // loop the simulation while allowed, can set additional conditions to break + // loop the simulation while allowed, programmer can set additional conditions to break out and finish + while (loopCount < MAX_LOOP_COUNT) { String narrativeMessage1, narrativeMessage2, narrativeMessage3; // initialize loop variables @@ -256,8 +258,8 @@ public class ExampleSimulationProgram // etc. etc. your code goes here - - + // something happens between my simulation entities, la de da de da... + System.out.println ("... My simulation just did something, no really..."); // make your reports: narrative code for CommentPdu here (set all to empty strings to avoid sending)