Search in sources :

Example 1 with Vector2BoxPart

use of com.gempukku.libgdx.graph.ui.part.Vector2BoxPart in project gdx-graph by MarcinSc.

the class PropertyVector2BoxProducer method createPropertyBox.

@Override
public PropertyBox createPropertyBox(Skin skin, String name, PropertyLocation location, JsonValue jsonObject, PropertyLocation[] propertyLocations) {
    PropertyBoxImpl result = new PropertyBoxImpl(name, ShaderFieldType.Vector2, location, propertyLocations);
    result.addPropertyBoxPart(new Vector2BoxPart("Vector2", "x", "y", 0, 0, null, null));
    result.initialize(jsonObject);
    return result;
}
Also used : Vector2BoxPart(com.gempukku.libgdx.graph.ui.part.Vector2BoxPart) PropertyBoxImpl(com.gempukku.libgdx.graph.ui.graph.property.PropertyBoxImpl)

Aggregations

PropertyBoxImpl (com.gempukku.libgdx.graph.ui.graph.property.PropertyBoxImpl)1 Vector2BoxPart (com.gempukku.libgdx.graph.ui.part.Vector2BoxPart)1