Java Code Examples for com.badlogic.gdx.utils.Json#readFields()

The following examples show how to use com.badlogic.gdx.utils.Json#readFields() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: InterpolationSerializer.java    From artemis-odb-orion with Apache License 2.0 4 votes vote down vote up
@Override
public Interpolation.Pow read(Json json, JsonValue jsonData, Class type) {
	Interpolation.Pow interp = new Interpolation.Pow(0);
	json.readFields(interp, jsonData);
	return interp;
}
 
Example 2
Source File: InterpolationSerializer.java    From artemis-odb-orion with Apache License 2.0 4 votes vote down vote up
@Override
public Interpolation.PowIn read(Json json, JsonValue jsonData, Class type) {
	Interpolation.PowIn interp = new Interpolation.PowIn(0);
	json.readFields(interp, jsonData);
	return interp;
}
 
Example 3
Source File: InterpolationSerializer.java    From artemis-odb-orion with Apache License 2.0 4 votes vote down vote up
@Override
public Interpolation.PowOut read(Json json, JsonValue jsonData, Class type) {
	Interpolation.PowOut interp = new Interpolation.PowOut(0);
	json.readFields(interp, jsonData);
	return interp;
}
 
Example 4
Source File: InterpolationSerializer.java    From artemis-odb-orion with Apache License 2.0 4 votes vote down vote up
@Override
public Interpolation.Exp read(Json json, JsonValue jsonData, Class type) {
	Interpolation.Exp interp = new Interpolation.Exp(1, 1);
	json.readFields(interp, jsonData);
	return interp;
}
 
Example 5
Source File: InterpolationSerializer.java    From artemis-odb-orion with Apache License 2.0 4 votes vote down vote up
@Override
public Interpolation.ExpIn read(Json json, JsonValue jsonData, Class type) {
	Interpolation.ExpIn interp = new Interpolation.ExpIn(1, 1);
	json.readFields(interp, jsonData);
	return interp;
}
 
Example 6
Source File: InterpolationSerializer.java    From artemis-odb-orion with Apache License 2.0 4 votes vote down vote up
@Override
public Interpolation.ExpOut read(Json json, JsonValue jsonData, Class type) {
	Interpolation.ExpOut interp = new Interpolation.ExpOut(1, 1);
	json.readFields(interp, jsonData);
	return interp;
}
 
Example 7
Source File: InterpolationSerializer.java    From artemis-odb-orion with Apache License 2.0 4 votes vote down vote up
@Override
public Interpolation.Elastic read(Json json, JsonValue jsonData, Class type) {
	Interpolation.Elastic interp = new Interpolation.Elastic(0, 0, 0, 0);
	json.readFields(interp, jsonData);
	return interp;
}
 
Example 8
Source File: InterpolationSerializer.java    From artemis-odb-orion with Apache License 2.0 4 votes vote down vote up
@Override
public Interpolation.ElasticIn read(Json json, JsonValue jsonData, Class type) {
	Interpolation.ElasticIn interp = new Interpolation.ElasticIn(0, 0, 0, 0);
	json.readFields(interp, jsonData);
	return interp;
}
 
Example 9
Source File: InterpolationSerializer.java    From artemis-odb-orion with Apache License 2.0 4 votes vote down vote up
@Override
public Interpolation.ElasticOut read(Json json, JsonValue jsonData, Class type) {
	Interpolation.ElasticOut interp = new Interpolation.ElasticOut(0, 0, 0, 0);
	json.readFields(interp, jsonData);
	return interp;
}
 
Example 10
Source File: InterpolationSerializer.java    From artemis-odb-orion with Apache License 2.0 4 votes vote down vote up
@Override
public Interpolation.Bounce read(Json json, JsonValue jsonData, Class type) {
	Interpolation.Bounce interp = new Interpolation.Bounce(2);
	json.readFields(interp, jsonData);
	return interp;
}
 
Example 11
Source File: InterpolationSerializer.java    From artemis-odb-orion with Apache License 2.0 4 votes vote down vote up
@Override
public Interpolation.BounceIn read(Json json, JsonValue jsonData, Class type) {
	Interpolation.BounceIn interp = new Interpolation.BounceIn(2);
	json.readFields(interp, jsonData);
	return interp;
}
 
Example 12
Source File: InterpolationSerializer.java    From artemis-odb-orion with Apache License 2.0 4 votes vote down vote up
@Override
public Interpolation.BounceOut read(Json json, JsonValue jsonData, Class type) {
	Interpolation.BounceOut interp = new Interpolation.BounceOut(2);
	json.readFields(interp, jsonData);
	return interp;
}
 
Example 13
Source File: InterpolationSerializer.java    From artemis-odb-orion with Apache License 2.0 4 votes vote down vote up
@Override
public Interpolation.Swing read(Json json, JsonValue jsonData, Class type) {
	Interpolation.Swing interp = new Interpolation.Swing(1);
	json.readFields(interp, jsonData);
	return interp;
}
 
Example 14
Source File: InterpolationSerializer.java    From artemis-odb-orion with Apache License 2.0 4 votes vote down vote up
@Override
public Interpolation.SwingIn read(Json json, JsonValue jsonData, Class type) {
	Interpolation.SwingIn interp = new Interpolation.SwingIn(1);
	json.readFields(interp, jsonData);
	return interp;
}
 
Example 15
Source File: InterpolationSerializer.java    From artemis-odb-orion with Apache License 2.0 4 votes vote down vote up
@Override
public Interpolation.SwingOut read(Json json, JsonValue jsonData, Class type) {
	Interpolation.SwingOut interp = new Interpolation.SwingOut(1);
	json.readFields(interp, jsonData);
	return interp;
}