public interface PrimitiveManager
PrimitiveManager
ships extension primitives and
associated names to NetLogo.
Method Summary | |
---|---|
void |
addPrimitive(String name,
Primitive prim)
Adds a new primitive. |
boolean |
autoImportPrimitives()
|
void |
autoImportPrimitives(boolean val)
Should the primitives be automatically imported into the top-level NetLogo namespace. |
Method Detail |
---|
void addPrimitive(String name, Primitive prim)
name
- the name of the primitive that will be use in NetLogo codeprim
- an instance of Primitive
to associate with name
void autoImportPrimitives(boolean val)
boolean autoImportPrimitives()