blob: 5543f79d9b171b084aea9d1f2ee356addd784ad9 (
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
31
32
|
import { LatLng } from "./interfaces";
export class Portal {
fullLoad: boolean
address: string
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.address = ""
this.fullLoad = false
}
}
export class Link {
constructor(public fraction: string, public coords: LatLng[]) { }
}
export class Field {
constructor(public fraction: string, public coords: LatLng[]) { }
}
|