Package net.glowstone.data
Class CommandFunction.FunctionLine
java.lang.Object
net.glowstone.data.CommandFunction.FunctionLine
- Enclosing class:
- CommandFunction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
void
execute
(org.bukkit.command.CommandSender sender) Executes the command on this line.int
hashCode()
boolean
static CommandFunction.FunctionLine
Converts a line of code to a FunctionLine.toString()
-
Constructor Details
-
FunctionLine
-
-
Method Details
-
read
Converts a line of code to a FunctionLine.- Parameters:
line
- a line from a function file- Returns:
- the line as a FunctionLine
-
execute
public void execute(org.bukkit.command.CommandSender sender) Executes the command on this line.- Parameters:
sender
- the function caller
-
toString
-
isComment
public boolean isComment() -
getContent
-
equals
-
canEqual
-
hashCode
public int hashCode()
-