Hi everyone,
I am trying to use an enum from one of my Java classes inside of Jess. I
read a forum post that said I could use the (import enum-name) feature to
import enums into Jess, but that only seems to work when the enum is itself
in a separate file.
I have a class called UnitType, inside
Nested enums, like nested classes, actually secretly have a name like
UnitType$UnitTypes. I haven't tried this specifically for enums, but I
suspect this would work:
engine.executeCommand((import eisbot.proxy.types.UnitType$UnitTypes));
From: