mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-22 05:38:19 +07:00
Removed unnecessary functional methods / Script cleanup
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user