All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gempukku.libgdx.graph.pipeline.producer.FloatFieldOutput Maven / Gradle / Ivy

The newest version!
package com.gempukku.libgdx.graph.pipeline.producer;

import com.gempukku.libgdx.graph.pipeline.PipelineFieldType;
import com.gempukku.libgdx.graph.pipeline.producer.node.PipelineNode;
import com.gempukku.libgdx.graph.pipeline.producer.node.PipelineRequirements;

public class FloatFieldOutput implements PipelineNode.FieldOutput {
    private float value;

    public FloatFieldOutput(float value) {
        this.value = value;
    }

    @Override
    public PipelineFieldType getPropertyType() {
        return PipelineFieldType.Float;
    }

    @Override
    public Float getValue(PipelineRenderingContext context, PipelineRequirements pipelineRequirements) {
        return value;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy