package de.frajul.endlessroll.data;

/**
 * Created by Julian on 02.08.2016.
 */
public class Color4f {

    private float r, g, b, a;

    public Color4f() {
    }

    public Color4f(float r, float g, float b, float a) {
        this.r = r;
        this.g = g;
        this.b = b;
        this.a = a;
    }

    public Color4f(Color4f other) {
        this.r = other.getR();
        this.g = other.getG();
        this.b = other.getB();
        this.a = other.getA();
    }

    public float getR() {
        return r;
    }

    public void setR(float r) {
        this.r = r;
    }

    public float getG() {
        return g;
    }

    public void setG(float g) {
        this.g = g;
    }

    public float getB() {
        return b;
    }

    public void setB(float b) {
        this.b = b;
    }

    public float getA() {
        return a;
    }

    public void setA(float a) {
        this.a = a;
    }
}
