From a36d651c0425b23b767fda6f9fe3364008c6246d Mon Sep 17 00:00:00 2001 From: Don Brutzman <brutzman@nps.edu> Date: Sat, 22 Aug 2020 20:42:28 -0700 Subject: [PATCH] corrected entity name --- src/edu/nps/moves/dis7/examples/EntityUse.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/edu/nps/moves/dis7/examples/EntityUse.java b/src/edu/nps/moves/dis7/examples/EntityUse.java index 3286b76843..c84f4a1097 100644 --- a/src/edu/nps/moves/dis7/examples/EntityUse.java +++ b/src/edu/nps/moves/dis7/examples/EntityUse.java @@ -102,11 +102,11 @@ public class EntityUse espdu = (EntityStatePdu)pduFactory.createPdu(DISPDUType.ENTITY_STATE); /* set desired entity state fields here */ - AD44Shenandoah et2 = new AD44Shenandoah(); + AD_44_Shenandoah entityType2 = new AD_44_Shenandoah(); // edu.nps.moves.dis7.entities.usa.platform.surface - espdu.setEntityType(et2); + espdu.setEntityType(entityType2); netif.send(espdu); // possibly throws IOException - sleep(100L); + sleep(100L); // TODO remove? } private static void sleep(long ms) -- GitLab