You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: dist/screeps.d.ts
+17
Original file line number
Diff line number
Diff line change
@@ -1246,6 +1246,23 @@ interface Mineral extends RoomObject {
1246
1246
*/
1247
1247
ticksToRegeneration: number;
1248
1248
}
1249
+
/**
1250
+
* A nuke landing position. This object cannot be removed or modified. You can find incoming nukes in the room using the FIND_NUKES constant.
1251
+
*/
1252
+
declareclassNukeextendsRoomObject{
1253
+
/**
1254
+
* A unique object identificator. You can use Game.getObjectById method to retrieve an object instance by its id.
1255
+
*/
1256
+
id: string;
1257
+
/**
1258
+
* The name of the room where this nuke has been launched from.
1259
+
*/
1260
+
launchRoomName: string;
1261
+
/**
1262
+
* The remaining landing time.
1263
+
*/
1264
+
timeToLand: number;
1265
+
}
1249
1266
/**
1250
1267
* Contains powerful methods for pathfinding in the game world. Support exists for custom navigation costs and paths which span multiple rooms.
1251
1268
* Additionally PathFinder can search for paths through rooms you can't see, although you won't be able to detect any dynamic obstacles like creeps or buildings.
0 commit comments