mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
1 parent
272824a72f
commit
4b7b8b3392
9 files changed
+109
-38
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import type { TankCatalogComponent } from "@protos/game/proto/legacy/blitz_static_tank_component";
|
||||
import type { Tank } from "@protos/blitzkit/tank";
|
||||
import { Varuna } from "varuna";
|
||||
import { createTankState } from "../core/tankopedia/createTankState";
|
||||
import { type TankState } from "../core/tankopedia/tankState";
|
||||
@@ -14,9 +14,8 @@ export enum TankopediaCompare {
|
||||
All,
|
||||
}
|
||||
|
||||
export const Tankopedia = new Varuna<Tankopedia, TankCatalogComponent>(
|
||||
(tank) => ({
|
||||
compare: TankopediaCompare.TierAndClass,
|
||||
protagonist: createTankState(tank),
|
||||
}),
|
||||
);
|
||||
export const Tankopedia = new Varuna<Tankopedia, Tank>((tank) => ({
|
||||
compare: TankopediaCompare.TierAndClass,
|
||||
|
||||
protagonist: createTankState(tank),
|
||||
}));
|
||||
Reference in new issue
Block a user