mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: gun & turret origins
This commit is contained in:
1 parent
b433129354
commit
28dde23115
3 files changed
+54
-41
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import { deburr } from 'lodash';
|
||||
import { Vector3Tuple } from 'three';
|
||||
import { TankType, TreeTypeString } from '../../components/Tanks';
|
||||
import { asset } from './asset';
|
||||
|
||||
@@ -9,6 +10,7 @@ export interface TankDefinition {
|
||||
id: number;
|
||||
nation: string;
|
||||
name: string;
|
||||
turretOrigin: Vector3Tuple;
|
||||
tree_type: TreeTypeString;
|
||||
tier: Tier;
|
||||
type: TankType;
|
||||
@@ -25,6 +27,7 @@ export interface TurretDefinition {
|
||||
name: string;
|
||||
tier: Tier;
|
||||
yaw?: [number, number];
|
||||
gunOrigin: Vector3Tuple;
|
||||
guns: GunDefinition[];
|
||||
}
|
||||
export type GunDefinition = GunDefinitionBase &
|
||||
|
||||
Reference in new issue
Block a user