Class GameContext.Builder
java.lang.Object
org.xxdc.oss.example.GameContext.Builder
- Enclosing class:
GameContext
A builder for creating a game context.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the game context.Sets the ID of the game context.Adds a single metadata entry.Adds all metadata entries from the provided map.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the ID of the game context. -
put
Adds a single metadata entry. -
putAll
Adds all metadata entries from the provided map. -
build
Builds the game context.
-