Script stuff

This commit is contained in:
2026-07-31 09:40:53 -05:00
parent d49194fc4d
commit 07f98c119a
45 changed files with 2094 additions and 201 deletions
+15
View File
@@ -0,0 +1,15 @@
// Copyright (c) 2026 Dominic Masters
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
/**
* Live view over the engine's fixed-timestep clock (see time/time.h).
* `delta`/`time` always reflect the most recent timeUpdate() call.
*/
declare const Time: {
/** Fixed simulation timestep, in seconds (always DUSK_TIME_STEP). */
readonly delta: number;
/** Total elapsed fixed-simulation time, in seconds. */
readonly time: number;
};