Added delta time variable to library
This commit is contained in:
@@ -165,6 +165,7 @@ var $builtinmodule = function (name) {
|
||||
Object.defineProperty(mod, 'T', { get: function () { return toPy(lc_instance ? lc_instance.T : (window.T || 0)); } });
|
||||
Object.defineProperty(mod, 'W', { get: function () { return toPy(lc_instance ? lc_instance.W : (window.W || 0)); } });
|
||||
Object.defineProperty(mod, 'H', { get: function () { return toPy(lc_instance ? lc_instance.H : (window.H || 0)); } });
|
||||
Object.defineProperty(mod, 'DT', { get: function () { return toPy(lc_instance ? lc_instance.dt : (window.dt || 0)); } });
|
||||
Object.defineProperty(mod, 'MX', {
|
||||
get: function () {
|
||||
let mx = lc_instance ? lc_instance.MX : (window.MX || -1);
|
||||
|
||||
Reference in New Issue
Block a user