Functional tweaks

This commit is contained in:
Anuken
2019-12-08 22:50:54 -05:00
parent 2554433f8d
commit 9e07b95223
3 changed files with 10 additions and 0 deletions

View File

@ -11,5 +11,9 @@ const extend = function(classType, params){
}
const run = method => new java.lang.Runnable(){run: method}
const boolf = method => new Boolf(){get: method}
const boolp = method => new Boolp(){get: method}
const cons = method => new Cons(){get: method}
const prov = method => new Prov(){get: method}
const newEffect = (lifetime, renderer) => new Effects.Effect(lifetime, new Effects.EffectRenderer({render: renderer}))
const Calls = Packages.io.anuke.mindustry.gen.Call