mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-21 13:17:39 +07:00
Functional tweaks
This commit is contained in:
@ -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
|
@ -13,6 +13,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 newEffect = (lifetime, renderer) => new Effects.Effect(lifetime, new Effects.EffectRenderer({render: renderer}))
|
||||
const Calls = Packages.io.anuke.mindustry.gen.Call
|
||||
importPackage(Packages.io.anuke.arc)
|
||||
|
@ -201,6 +201,9 @@ public class Styles{
|
||||
down = flatDown;
|
||||
up = black6;
|
||||
over = flatOver;
|
||||
disabled = black8;
|
||||
imageDisabledColor = Color.lightGray;
|
||||
imageUpColor = Color.white;
|
||||
}};
|
||||
clearToggleTransi = new ImageButtonStyle(){{
|
||||
down = flatDown;
|
||||
|
Reference in New Issue
Block a user