diff --git a/assignments/src/MV3500Cohort2021JulySeptember/homework3/Leckie/homework3Leckie.java b/assignments/src/MV3500Cohort2021JulySeptember/homework3/Leckie/homework3Leckie.java index 7932050ef8c0f6946f55dfa8d28740a20748ab2e..e107525b5c92af6367107ad8c0bcf132406f94bf 100644 --- a/assignments/src/MV3500Cohort2021JulySeptember/homework3/Leckie/homework3Leckie.java +++ b/assignments/src/MV3500Cohort2021JulySeptember/homework3/Leckie/homework3Leckie.java @@ -1,16 +1,6 @@ package MV3500Cohort2021JulySeptember.homework3.Leckie; - -/** - * - * @author Jacob Leckie - */ - -/** - * Copyright (c) 2008-2021, MOVES Institute, Naval Postgraduate School (NPS). All rights reserved. - * This work is provided under a BSD open-source license, see project license.html and license.txt - */ -package OpenDis7Examples; +//package OpenDis7Examples; import edu.nps.moves.dis7.enumerations.VariableRecordType; import edu.nps.moves.dis7.pdus.CommentPdu; @@ -25,6 +15,18 @@ import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; +/** + * + * @author Jacob Leckie + */ + +/** + * Copyright (c) 2008-2021, MOVES Institute, Naval Postgraduate School (NPS). All rights reserved. + * This work is provided under a BSD open-source license, see project license.html and license.txt + */ + + + /** The purpose of this program is to provide an easily modifiable example simulation program * that includes DIS-capable entities doing tasks and reporting them to the network. * Default settings include PDU recording turned on by default. @@ -83,6 +85,7 @@ public class homework3Leckie // Where is my entity? Insert changes in position. entityStatePdu.getEntityLocation().setX(entityStatePdu.getEntityLocation().getX() + 1.0); // 1m per timestep + entityStatePdu.getEntityOrientation(); // decide whether to fire, and then update the firePdu. Hmmm, you might want a target to shoort at! // etc. etc. your code goes here