DasherJava / src / dasherJava / core / languageModeling / LanguageCharacter.java
LanguageCharacter.java
Raw
package dasherJava.core.languageModeling;

import java.util.List;

import dasherJava.core.alphabets.RGBAColorPair;
import dasherJava.core.alphabets.actions.Action;

public class LanguageCharacter {
	
	private final int unicode;
	private final float fixedProbability;
	private final String label;
	private final RGBAColorPair nodeColor;
	private final RGBAColorPair outlineColor;
	private final RGBAColorPair labelColor;
	private final List<Action> actions;
	
	public LanguageCharacter(int unicode, float fixedProbability, String label, RGBAColorPair nodeColor,
	                         RGBAColorPair outlineColor, RGBAColorPair labelColor, List<Action> actions) {
		this.unicode=unicode;
		this.fixedProbability=fixedProbability;
		this.label=label;
		this.nodeColor=nodeColor;
		this.outlineColor=outlineColor;
		this.labelColor=labelColor;
		this.actions=actions;
	}
	
	public int getUnicode() {
		return unicode;
	}
	
	public float getFixedProbability() {
		return fixedProbability;
	}
	
	public String getLabel() {
		return label;
	}
	
	public RGBAColorPair getNodeColor() {
		return nodeColor;
	}
	
	public RGBAColorPair getOutlineColor() {
		return outlineColor;
	}
	
	public RGBAColorPair getLabelColor() {
		return labelColor;
	}
	
	public List<Action> getActions() {
		return actions;
	}
}