mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-01 18:50:27 +03:00
Security / Android compat / Functional extension
This commit is contained in:
@@ -2,6 +2,6 @@ const print = function(obj){
|
||||
java.lang.System.out.println(obj ? String(obj) : "null")
|
||||
}
|
||||
|
||||
const extend = function(classType, params){
|
||||
return new JavaAdapter(classType, params)
|
||||
}
|
||||
const extend = function(classType, name, params){
|
||||
return new JavaAdapter(classType, params, name)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user