package net.minecraft.src;

public class ScoreObjective {
	private final Scoreboard theScoreboard;
	private final String name;
	private final ScoreObjectiveCriteria objectiveCriteria;
	private String displayName;

	public ScoreObjective(Scoreboard var1, String var2, ScoreObjectiveCriteria var3) {
		this.theScoreboard = var1;
		this.name = var2;
		this.objectiveCriteria = var3;
		this.displayName = var2;
	}

	public Scoreboard getScoreboard() {
		return this.theScoreboard;
	}

	public String getName() {
		return this.name;
	}

	public ScoreObjectiveCriteria getCriteria() {
		return this.objectiveCriteria;
	}

	public String getDisplayName() {
		return this.displayName;
	}

	public void setDisplayName(String var1) {
		this.displayName = var1;
		this.theScoreboard.func_96532_b(this);
	}
}
