23 package com.realtime.crossfire.jxclient.server.crossfire;
26 import java.util.ArrayList;
27 import java.util.Collection;
28 import java.util.Collections;
29 import org.jetbrains.annotations.NotNull;
30 import org.jetbrains.annotations.Nullable;
64 private final Collection<StartingMap>
startingMaps =
new ArrayList<>();
83 System.err.println(
"missing archetype name for name '"+
name+
"' in startingmap block");
86 if (this.name !=
null) {
87 System.err.println(
"duplicate name '"+
name+
"' in startingmap block; previous name was '"+this.name+
"'");
99 System.err.println(
"missing archetype name for description '"+
description+
"' in startingmap block");
102 if (this.description !=
null) {
103 System.err.println(
"duplicate description '"+
description+
"' in startingmap block; previous description was '"+this.description+
"'");
114 public Collection<StartingMap>
finish() {
116 return Collections.unmodifiableCollection(
startingMaps);