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

entity 3, a potential third-party observer

parent 9dbfdd3c
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,9 @@ public class ExampleSimulationProgram
protected EntityID entityID_1 = new EntityID();
/** EntityID settings for entity 2 */
protected EntityID entityID_2 = new EntityID();
/** EntityID settings for entity 3, a potential third-party observer and after-action reporter */
protected EntityID entityID_3 = new EntityID();
/** ESPDU for entity 1 */
protected EntityStatePdu entityStatePdu_1;
/** ESPDU for entity 2 */
......@@ -161,9 +164,9 @@ public class ExampleSimulationProgram
munitionDescriptor1 = new MunitionDescriptor();
// can a third party report their independent (non-entity) status of a detonation? yes...
// if this is a third-party report, then that third party will need an independent EntityID
detonationPdu_1a = pduFactory.makeDetonationPdu();
// if this is a third-party report, then that third party will need an EntityID
detonationPdu_1a.setSourceEntityID(entityID_1);
detonationPdu_1a.setSourceEntityID(entityID_3);
// Your model setup: define participants. who's who in this zoo?
// Assuming you keep track of entity objects... here is some support for for Entity 1.
......
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