diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/tracer2/Trace.java b/BauSystem_Main/src/de/steamwar/bausystem/features/tracer2/Trace.java index fc32864c..aec31127 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/tracer2/Trace.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/tracer2/Trace.java @@ -25,11 +25,25 @@ import java.util.HashSet; import java.util.Set; public class Trace { + /** + * Region this trace has been recorded in + */ private final Region region; + + /** + * Records of TNTs, making up the trace + */ private final Set records = new HashSet<>(); public Trace (Region region){ this.region = region; } + /** Methode to add a record to the trace + * + * @param record record to add + */ + protected void add (TNTRecord record){ + records.add(record); + } }