import { Gadget, Gear, StarPower } from "../../types"; class Icon { id: number; constructor(id: number) { this.id = id; } } class Club { tag: string; name: string; constructor(tag: string, name: string) { this.tag = tag; this.name = name; } } class Brawler { id: number; name: string; power: number; rank: number; trophies: number; highestTrophies: number; gears: Gear[]; starPowers: StarPower[]; gadgets: Gadget[]; constructor( id: number, name: string, power: number, rank: number, trophies: number, highestTrophies: number, gears: Gear[], starPowers: StarPower[], gadgets: Gadget[], ) { this.id = id; this.name = name; this.power = power; this.rank = rank; this.trophies = trophies; this.highestTrophies = highestTrophies; this.gears = gears; this.starPowers = starPowers; this.gadgets = gadgets; } } class Player { tag: string; name: string; icon: Icon; trophies: number; highestTrophies: number; expLevel: number; club: Club; brawlers: Brawler[]; constructor( tag: string, name: string, icon: Icon, trophies: number, highestTrophies: number, expLevel: number, club: Club, brawlers: Brawler[], ) { this.tag = tag; this.name = name; this.icon = icon; this.trophies = trophies; this.highestTrophies = highestTrophies; this.expLevel = expLevel; this.club = club; this.brawlers = brawlers; } } export { Player, Brawler };