Package mindustry.mod
Class Scripts
java.lang.Object
mindustry.mod.Scripts
- All Implemented Interfaces:
Disposable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Releases all resources of this object.boolean
void
log
(Log.LogLevel level, String source, String message) void
float[]
newFloats
(int capacity) void
run
(Mods.LoadedMod mod, Fi file) runConsole
(String text) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface arc.util.Disposable
isDisposed
-
Field Details
-
context
public final rhino.Context context -
scope
public final rhino.Scriptable scope
-
-
Constructor Details
-
Scripts
public Scripts()
-
-
Method Details
-
hasErrored
public boolean hasErrored() -
runConsole
-
log
-
log
-
newFloats
public float[] newFloats(int capacity) -
run
-
dispose
public void dispose()Description copied from interface:Disposable
Releases all resources of this object.- Specified by:
dispose
in interfaceDisposable
-