Files
dusk/types/index.d.ts
T

53 lines
1.8 KiB
TypeScript

/**
* Copyright (c) 2026 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*
* Root type declarations for the Dusk engine built-in JavaScript modules.
* These globals are injected by the native JerryScript runtime — they are not
* ES modules and cannot be imported.
*
* Reference this file from a jsconfig.json or tsconfig.json to get
* IntelliSense across all game scripts:
*
* { "compilerOptions": { "typeRoots": ["./types"] } }
*/
// module system
/// <reference path="./require.d.ts" />
// math
/// <reference path="./math/vec3.d.ts" />
// display
/// <reference path="./display/color.d.ts" />
/// <reference path="./display/screen.d.ts" />
/// <reference path="./display/texture.d.ts" />
// asset
/// <reference path="./asset/assetentry.d.ts" />
/// <reference path="./asset/assetbatch.d.ts" />
/// <reference path="./asset/asset.d.ts" />
// engine systems
/// <reference path="./console/console.d.ts" />
/// <reference path="./engine/engine.d.ts" />
/// <reference path="./input/input.d.ts" />
/// <reference path="./scene/scene.d.ts" />
/// <reference path="./system/system.d.ts" />
// entity / components
/// <reference path="./entity/component.d.ts" />
/// <reference path="./entity/component/camera.d.ts" />
/// <reference path="./entity/component/interactable.d.ts" />
/// <reference path="./entity/component/overworld.d.ts" />
/// <reference path="./entity/component/overworldcamera.d.ts" />
/// <reference path="./entity/component/overworldtrigger.d.ts" />
/// <reference path="./entity/component/physics.d.ts" />
/// <reference path="./entity/component/player.d.ts" />
/// <reference path="./entity/component/position.d.ts" />
/// <reference path="./entity/component/renderable.d.ts" />
/// <reference path="./entity/component/trigger.d.ts" />
/// <reference path="./entity/entity.d.ts" />