Test sprite from script
This commit is contained in:
Vendored
+27
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
* Copyright (c) 2026 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
/** Runtime platform detection. */
|
||||
interface SystemNamespace {
|
||||
/**
|
||||
* Numeric identifier for the current platform.
|
||||
* Compare against the `System.PLATFORM_*` constants.
|
||||
*
|
||||
* @example
|
||||
* if (System.platform === System.PLATFORM_PSP) { useLowResAssets(); }
|
||||
*/
|
||||
readonly platform: number;
|
||||
|
||||
readonly PLATFORM_LINUX: number;
|
||||
readonly PLATFORM_KNULLI: number;
|
||||
readonly PLATFORM_PSP: number;
|
||||
readonly PLATFORM_GAMECUBE: number;
|
||||
readonly PLATFORM_WII: number;
|
||||
}
|
||||
|
||||
/** Platform detection and system-level information. */
|
||||
declare var System: SystemNamespace;
|
||||
Reference in New Issue
Block a user