useProtagonist

This commit is contained in:
tresabhi committed 2026-09-22 16:20:39 -05:00
1 parent 7592381b12
commit 99965118b3
4 files changed
+35 -20

No files matched your search

+12 -13
View File
@@ -1,11 +1,7 @@
import {
createDefaultSkills,
EngineDefinition,
GunDefinition,
ShellDefinition,
TankDefinition,
TrackDefinition,
TurretDefinition,
type ModelDefinition,
} from "@blitzkit/core";
import type { Vector3 } from "three";
@@ -14,8 +10,10 @@ import { api } from "../blitzkit/api";
import type { ArmorType } from "../components/Armor/components/SpacedArmorScene";
import type { ExternalModuleVariant } from "../components/Armor/components/SpacedArmorSceneComponent";
import type { XP_MULTIPLIERS } from "../components/Tankopedia/TechTreeSection";
import { createTankState } from "../tankopedia/createTankState";
import type { EquipmentMatrix } from "./duel";
import {
createTankState,
type EquipmentMatrix,
} from "../tankopedia/createTankState";
import { TankopediaDisplay } from "./tankopediaPersistent/constants";
export interface ShotLayerBase {
@@ -84,14 +82,15 @@ export enum TankopediaRelativeAgainst {
}
export interface TankState {
tank: TankDefinition;
model: ModelDefinition;
tank: number;
engine: EngineDefinition;
turret: TurretDefinition;
gun: GunDefinition;
shell: ShellDefinition;
track: TrackDefinition;
engine: number;
turret: number;
gun: number;
shell: number;
track: number;
model: ModelDefinition;
equipment_matrix: EquipmentMatrix;