forked from Garethp/ScreepsAutocomplete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Nuke.js
33 lines (30 loc) · 656 Bytes
/
Nuke.js
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
/**
* A nuke landing position.
* This object cannot be removed or modified.
* You can find incoming nukes in the room using the FIND_NUKES constant.
* @class
* @extends {RoomObject}
*/
Nuke = function() { };
Nuke.prototype =
{
/**
* A unique object identificator.
* You can use Game.getObjectById method to retrieve an object instance by its id.
*
* @type {string}
*/
id: "",
/**
* The name of the room where this nuke has been launched from.
*
* @type {string}
*/
launchRoomName: "",
/**
* The remaining landing time.
*
* @type {number}
*/
timeToLand: 0
};