mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-20 12:47:37 +07:00
Many changes to improve scripting
This commit is contained in:
@ -8,4 +8,8 @@ const extendContent = function(classType, name, params){
|
||||
|
||||
const extend = function(classType, params){
|
||||
return new JavaAdapter(classType, params)
|
||||
}
|
||||
}
|
||||
|
||||
const run = method => new java.lang.Runnable(){run: method}
|
||||
const newEffect = (lifetime, renderer) => new Effects.Effect(lifetime, new Effects.EffectRenderer({render: renderer}))
|
||||
const Calls = Packages.io.anuke.mindustry.gen.Call
|
Reference in New Issue
Block a user