mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-06 08:18:13 +07:00
@ -38,7 +38,14 @@ public class GlobalVars{
|
||||
put("false", 0);
|
||||
put("true", 1);
|
||||
put("null", null);
|
||||
|
||||
|
||||
//math
|
||||
put("@pi", Mathf.PI);
|
||||
put("π", Mathf.PI); //for the "cool" kids
|
||||
put("@e", Mathf.E);
|
||||
put("@degToRad", Mathf.degRad);
|
||||
put("@radToDeg", Mathf.radDeg);
|
||||
|
||||
//time
|
||||
varTime = put("@time", 0);
|
||||
varTick = put("@tick", 0);
|
||||
@ -48,7 +55,6 @@ public class GlobalVars{
|
||||
varWaveTime = put("@waveTime", 0);
|
||||
|
||||
//special enums
|
||||
|
||||
put("@ctrlProcessor", ctrlProcessor);
|
||||
put("@ctrlPlayer", ctrlPlayer);
|
||||
put("@ctrlCommand", ctrlCommand);
|
||||
|
Reference in New Issue
Block a user