/FileExtraction/Java_unseen/Wind-Development_WindSpigot/WindSpigot-Server/src/main/java/org/bukkit/craftbukkit/scoreboard/CraftScoreboardComponent.java
package org.bukkit.craftbukkit.scoreboard;

abstract class CraftScoreboardComponent {
	private CraftScoreboard scoreboard;

	CraftScoreboardComponent(CraftScoreboard scoreboard) {
		this.scoreboard = scoreboard;
	}

	abstract CraftScoreboard checkState() throws IllegalStateException;

	public CraftScoreboard getScoreboard() {
		return scoreboard;
	}

	abstract void unregister() throws IllegalStateException;
}
