mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-13 01:07:30 +07:00
add floatf/p and func to global.js (#1633)
This commit is contained in:
@ -20,8 +20,11 @@ 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 floatf = method => new Floatf(){get: method}
|
||||
const floatp = method => new Floatp(){get: method}
|
||||
const cons = method => new Cons(){get: method}
|
||||
const prov = method => new Prov(){get: method}
|
||||
const func = method => new Func(){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