blob: 7a26bc8420f963a9a9edda7b3930da25800436cc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
import { LatLng } from "./interfaces";
export class Portal {
fullLoad: boolean
constructor(
public name: string,
public photo: string,
public fraction: string,
public coords: LatLng,
public level: number,
public resonatorsCount: number,
public mission: boolean,
public power: number,
public timestamp: number,
public resonators: any[],
public mods: any[],
public owner: string
) {
this.fullLoad = false
}
}
export class Link {
constructor(public fraction: string, public coords: LatLng[]) { }
}
export class Field {
constructor(public fraction: string, public coords: LatLng[]) { }
}
|