SteamWar/BauSystem2.0
Archiviert
12
0

Finished data part of Trace class

Dieser Commit ist enthalten in:
D4rkr34lm 2023-11-06 00:56:02 +01:00
Ursprung b886745113
Commit 32fb859764

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);
}
} }