public abstract class ShieldSprite extends DirectionsJsonObject implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ShieldSprite.Builder
This builder can be used to set the values describing the
ShieldSprite . |
Constructor and Description |
---|
ShieldSprite() |
Modifier and Type | Method and Description |
---|---|
static ShieldSprite.Builder |
builder()
Create a new instance of this class by using the
ShieldSprite.Builder class. |
abstract ShieldSpriteAttribute |
spriteAttributes()
Shield sprite's attributes.
|
abstract java.lang.String |
spriteName()
Shield sprite's name.
|
abstract ShieldSprite.Builder |
toBuilder()
Convert the current
ShieldSprite to its builder holding the currently assigned
values. |
static com.google.gson.TypeAdapter<ShieldSprite> |
typeAdapter(com.google.gson.Gson gson)
Gson type adapter for parsing Gson to this class.
|
getUnrecognizedJsonProperties, getUnrecognizedPropertiesNames, getUnrecognizedProperty, toJson
public static ShieldSprite.Builder builder()
ShieldSprite.Builder
class.ShieldSprite.Builder
for creating a new instance@NonNull public abstract java.lang.String spriteName()
@NonNull public abstract ShieldSpriteAttribute spriteAttributes()
public abstract ShieldSprite.Builder toBuilder()
ShieldSprite
to its builder holding the currently assigned
values. This allows you to modify a single property and then rebuild the object resulting in
an updated and modified ShieldSprite
.ShieldSprite.Builder
with the same values set to match the ones defined
in this ShieldSprite
public static com.google.gson.TypeAdapter<ShieldSprite> typeAdapter(com.google.gson.Gson gson)
gson
- the built Gson
object