diff --git a/assignments/src/MV3500Cohort2022MayJune/homework2/Ashmore/ExampleTrackInterpolationAshmore.java b/assignments/src/MV3500Cohort2022MayJune/homework2/Ashmore/ExampleTrackInterpolationAshmore.java index f3d6e6258e933c6bd75cbb6b50edd7d0afef2b46..c94315b14fdb1c0ef8c2a7add37f2a1847f90089 100644 --- a/assignments/src/MV3500Cohort2022MayJune/homework2/Ashmore/ExampleTrackInterpolationAshmore.java +++ b/assignments/src/MV3500Cohort2022MayJune/homework2/Ashmore/ExampleTrackInterpolationAshmore.java @@ -103,10 +103,12 @@ public class ExampleTrackInterpolationAshmore extends ExampleSimulationProgramAs // compute a track, update an ESPDU, whatever it is that your model is doing... // Pick direction, change each 10 seconds, traverse a box. No physics. Walk a box! - if (simulationLoopCount <= 10) + if (simulationLoopCount <= 5) directionEntity_1 = EntityStatePdu.Direction.NORTH; - else if (simulationLoopCount <= 20) + else if (simulationLoopCount <= 15) directionEntity_1 = EntityStatePdu.Direction.EAST; + else if (simulationLoopCount <= 25) + directionEntity_1 = EntityStatePdu.Direction.NORTH; else if (simulationLoopCount <= 30) directionEntity_1 = EntityStatePdu.Direction.SOUTH; else // if (simulationLoopCount <= 40)