Removed unnecessary functional methods / Script cleanup

This commit is contained in:
Anuken
2020-05-04 00:01:45 -04:00
parent 834c15a808
commit 07a4b64b8a
4 changed files with 56 additions and 68 deletions

View File

@ -15,12 +15,5 @@ const extend = function(classType, params){
return new JavaAdapter(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 cons2 = method => new Cons2(){get: method}
const prov = method => new Prov(){get: method}
const newEffect = (lifetime, renderer) => new Effects.Effect(lifetime, new Effects.EffectRenderer({render: renderer}))
Call = Packages.mindustry.gen.Call
const Calls = Call //backwards compat