Class StartingMapBuilder
java.lang.Object
com.realtime.crossfire.jxclient.server.crossfire.StartingMapBuilder
Builder for
StartingMap instances while parsing a "replyinfo
startingmap" response packet.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<StartingMap>finish()Finishes parsing.voidsetArchName(@NotNull String archName) Starts a new starting map entry.voidsetDescription(@NotNull String description) Sets the description of the current entry.voidSets the name of the current entry.
-
Constructor Details
-
StartingMapBuilder
public StartingMapBuilder()
-
-
Method Details
-
setArchName
Starts a new starting map entry.- Parameters:
archName- the archetype name of the entry
-
setName
Sets the name of the current entry.- Parameters:
name- the name
-
setDescription
Sets the description of the current entry.- Parameters:
description- the description
-
finish
Finishes parsing.- Returns:
- all starting map entries
-