public class Resolution
extends org.nlogo.api.DefaultCommand
Constructor and Description |
---|
Resolution() |
Modifier and Type | Method and Description |
---|---|
org.nlogo.api.Syntax |
getSyntax()
This method tells Netlogo the appropriate syntax of the primitive.
|
void |
perform(org.nlogo.api.Argument[] arg0,
org.nlogo.api.Context arg1)
This method perform the call from Netlogo and sets the given resolution.
|
public org.nlogo.api.Syntax getSyntax()
getSyntax
in interface org.nlogo.api.Primitive
getSyntax
in class org.nlogo.api.DefaultCommand
public void perform(org.nlogo.api.Argument[] arg0, org.nlogo.api.Context arg1) throws org.nlogo.api.ExtensionException, org.nlogo.api.LogoException
arg0
- Arguments from Netlogo call, in this case a number.arg1
- Context of Netlogo when the call was done.org.nlogo.api.ExtensionException
org.nlogo.api.LogoException