@Environment(value=CLIENT) public class AnimationResourceMetadataReader extends Object implements ResourceMetadataReader<AnimationResourceMetadata>
Constructor and Description |
---|
AnimationResourceMetadataReader() |
Modifier and Type | Method and Description |
---|---|
AnimationResourceMetadata |
fromJson(JsonObject jsonObject) |
String |
getKey() |
private AnimationFrameResourceMetadata |
readFrameMetadata(int frame,
JsonElement json) |
public AnimationResourceMetadata fromJson(JsonObject jsonObject)
fromJson
in interface ResourceMetadataReader<AnimationResourceMetadata>
private AnimationFrameResourceMetadata readFrameMetadata(int frame, JsonElement json)
public String getKey()
getKey
in interface ResourceMetadataReader<AnimationResourceMetadata>