NMV 0.8.0 - Big refactor and linting fixes

This commit is contained in:
Casper Warden
2025-01-17 23:37:54 +00:00
parent 3870861b0a
commit 53659008ac
210 changed files with 17588 additions and 18300 deletions

View File

@@ -1,6 +1,6 @@
import { AssetMap } from './AssetMap';
import { GameObject } from './public/GameObject';
import type { GameObject } from './public/GameObject';
import { Vector3 } from './Vector3';
import type { AssetRegistry } from './AssetRegistry';
export class BuildMap
{
@@ -8,7 +8,7 @@ export class BuildMap
public primReservoir: GameObject[] = [];
public rezLocation: Vector3 = Vector3.getZero();
constructor(public assetMap: AssetMap, public callback: (map: AssetMap) => void, public costOnly = false)
public constructor(public readonly assetMap: AssetRegistry, public readonly callback: (registry: AssetRegistry) => Promise<void>, public readonly costOnly = false)
{
}