SteamWar/BauSystem2.0
Archiviert
12
0

Trace Refactor #233

Zusammengeführt
YoyoNow hat 121 Commits von TracerGUI nach master 2024-04-21 16:03:26 +02:00 zusammengeführt
Nur Änderungen aus Commit 32fb859764 werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -25,11 +25,25 @@ import java.util.HashSet;
import java.util.Set; import java.util.Set;
public class Trace { public class Trace {
/**
* Region this trace has been recorded in
*/
private final Region region; private final Region region;
/**
* Records of TNTs, making up the trace
*/
private final Set<TNTRecord> records = new HashSet<>(); private final Set<TNTRecord> records = new HashSet<>();
public Trace (Region region){ public Trace (Region region){
this.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);
}
} }