-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNavalTransport.d.ts
101 lines (101 loc) · 3.88 KB
/
NavalTransport.d.ts
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
import { RuleRegistry } from '@civ-clone/core-rule/RuleRegistry';
import { TransportRegistry } from '@civ-clone/core-unit-transport/TransportRegistry';
import City from '@civ-clone/core-city/City';
import Player from '@civ-clone/core-player/Player';
import Tile from '@civ-clone/core-world/Tile';
declare const NavalTransport_base: {
new (
city: City | null,
player: Player,
tile: Tile,
ruleRegistry?: RuleRegistry
): {
'__#30@#ruleRegistry': RuleRegistry;
'__#30@#transportRegistry': TransportRegistry;
canStow(unit: import('@civ-clone/core-unit/Unit').Unit): boolean;
capacity(): import('@civ-clone/core-unit-transport/Yields').Capacity;
cargo(): import('@civ-clone/core-unit/Unit').Unit[];
cargoWeight(): import('@civ-clone/core-unit-transport/Yields').CargoWeight;
hasCapacity(): boolean;
hasCargo(): boolean;
setRuleRegistry(ruleRegistry: RuleRegistry): void;
setTransportRegistry(transportRegistry: TransportRegistry): void;
stow(
unit: import('@civ-clone/core-unit/Unit').Unit,
sourceTile?: Tile
): boolean;
unload(unit: import('@civ-clone/core-unit/Unit').Unit): boolean;
'__#28@#active': boolean;
'__#28@#busy': import('@civ-clone/core-unit/Rules/Busy').Busy | null;
'__#28@#city': City | null;
'__#28@#destroyed': boolean;
'__#28@#moves': import('@civ-clone/core-unit/Yields').Moves;
'__#28@#player': Player;
'__#28@#ruleRegistry': RuleRegistry;
'__#28@#status': import('@civ-clone/core-unit/Action').Action | null;
'__#28@#tile': Tile;
'__#28@#waiting': boolean;
action(
action: import('@civ-clone/core-unit/Action').Action,
...args: any[]
): void;
actions(
to?: Tile | import('@civ-clone/core-world/Tile').INeighbouringTiles,
from?: Tile
): import('@civ-clone/core-unit/Action').Action[];
actionsForNeighbours(
from?: Tile
): import('@civ-clone/core-unit/Unit').IActionsForNeighbours;
activate(): void;
active(): boolean;
setActive(active?: boolean): void;
applyVisibility(): void;
attack(): import('@civ-clone/core-unit/Yields').Attack;
busy(): import('@civ-clone/core-unit/Rules/Busy').Busy | null;
setBusy(rule?: import('@civ-clone/core-unit/Rules/Busy').Busy | null): void;
city(): City | null;
defence(): import('@civ-clone/core-unit/Yields').Defence;
destroy(player?: Player | null): void;
destroyed(): boolean;
setDestroyed(): void;
movement(): import('@civ-clone/core-unit/Yields').Movement;
moves(): import('@civ-clone/core-unit/Yields').Moves;
player(): Player;
status(): import('@civ-clone/core-unit/Action').Action | null;
setStatus(
status: import('@civ-clone/core-unit/Action').Action | null
): void;
tile(): Tile;
setTile(tile: Tile): void;
visibility(): import('@civ-clone/core-unit/Yields').Visibility;
waiting(): boolean;
setWaiting(waiting?: boolean): void;
yield(
...yields: import('@civ-clone/core-yield/Yield').Yield[]
): import('@civ-clone/core-yield/Yield').Yield[];
'__#9@#id': string;
'__#9@#keys': (keyof any)[];
addKey(...keys: (keyof any)[]): void;
id(): string;
keys(): (keyof any)[];
sourceClass<T extends NewableFunction>(): T;
toPlainObject(
dataObjectFilter?: import('@civ-clone/core-data-object/DataObject').DataObjectFilter,
additionalDataRegistry?: import('@civ-clone/core-data-object/AdditionalDataRegistry').AdditionalDataRegistry
): import('@civ-clone/core-data-object/DataObject').ObjectMap;
};
build(
city: City,
ruleRegistry?: RuleRegistry
): import('@civ-clone/core-city-build/Buildable').BuildableInstance;
};
export declare class NavalTransport extends NavalTransport_base {
constructor(
city: City | null,
player: Player,
tile: Tile,
ruleRegistry?: RuleRegistry,
transportRegistry?: TransportRegistry
);
}
export default NavalTransport;