feat: better icons and sizing

This commit is contained in:
tresabhi committed 2024-12-16 13:30:35 -06:00
1 parent 3c9ba9ec53
commit 382f04229e
7 files changed
+24 -10

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
import { asset } from '@blitzkit/core';
export const BLITZKIT_TANK_ICON_SIZE = { width: 40 * 16, height: 30 * 16 };
export function tankIcon(id: number, size: 'big' | 'small' = 'big') {
return asset(`icons/tanks/${size}/${id}.webp`);
}