Test sprite from script
This commit is contained in:
1 parent
57766a9104
commit
a25871a849
38 files changed
+1913
-377
No files matched your search
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
* Copyright (c) 2026 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
/** Controls over the engine main loop. */
|
||||
interface EngineNamespace {
|
||||
/**
|
||||
* Whether the engine main loop is still running.
|
||||
* Becomes `false` after `Engine.exit()` is called.
|
||||
*/
|
||||
readonly running: boolean;
|
||||
|
||||
/**
|
||||
* Requests an orderly shutdown. Sets `running` to `false`; the main loop
|
||||
* exits at the end of the current tick.
|
||||
*/
|
||||
exit(): void;
|
||||
}
|
||||
|
||||
/** Engine lifecycle controls. */
|
||||
declare var Engine: EngineNamespace;
|
||||
Reference in new issue
Block a user