VirtualDungeon/app/src/editor/util/Asset.ts

16 lines
248 B
TypeScript
Executable File

import { Vec2 } from './Vec';
export type AssetType = 'floor' | 'detail' | 'wall' | 'token';
export interface Asset {
type: AssetType;
name: string;
identifier: string;
path: string;
size: number;
tileSize: number;
dimensions?: Vec2;
}