mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: better icons and sizing
This commit is contained in:
1 parent
3c9ba9ec53
commit
382f04229e
7 files changed
+24
-10
No files matched your search
@@ -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`);
|
||||
}
|
||||
Reference in new issue
Block a user