Last active
January 4, 2016 13:18
-
-
Save whilb/8626690 to your computer and use it in GitHub Desktop.
example of an abstract class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.aerenserve.melded.requirements; | |
import org.bukkit.plugin.Plugin; | |
public abstract class Requirement { | |
protected Plugin plugin; | |
public RequirementType type; | |
protected Requirement(Plugin plugin, RequirementType type) { | |
this.plugin = plugin; | |
this.type = type; | |
} | |
public RequirementType getType() { | |
return type; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment