This commit is contained in:
+3
-1
@@ -1,6 +1,8 @@
|
||||
import { Team } from "./team";
|
||||
|
||||
export interface EntityType {
|
||||
uid: number;
|
||||
team: "Player" | "Enemy";
|
||||
team: Team;
|
||||
}
|
||||
|
||||
export interface EntityDefeatedType {
|
||||
|
||||
@@ -10,3 +10,4 @@ export * from "./version"
|
||||
export * from "./entity"
|
||||
export * from "./stat"
|
||||
export * from "./enemy"
|
||||
export * from "./team"
|
||||
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
import { EntityType } from "./entity";
|
||||
import { Team } from "./team";
|
||||
|
||||
export interface AvatarType{
|
||||
id: number;
|
||||
@@ -12,5 +13,5 @@ export interface SetBattleLineupType {
|
||||
|
||||
export interface UpdateTeamFormationType {
|
||||
entities: EntityType[],
|
||||
team: "Player" | "Enemy"
|
||||
team: Team
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
export enum Team {
|
||||
Player = "Player",
|
||||
Enemy = "Enemy"
|
||||
}
|
||||
Reference in New Issue
Block a user