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
Note: When using this API, you can't access creeps in manner suggested in Screeps' tutorial:
32
+
Note: When using this API, you can't access creeps in manner suggested in Screeps' tutorial:
24
33
25
34
```
26
35
Game.creeps.Worker1 // This is not allowed by TypeScript compiler
27
36
```
28
37
29
-
Instead, you have to use
38
+
Instead, you have to use
30
39
31
40
```
32
41
Game.creeps['Worker1']
@@ -36,7 +45,7 @@ Game.creeps['Worker1']
36
45
37
46
This library will stay up to date only with the help of you! If active players don't update it, it'll get lost.
38
47
39
-
To update the declarations, edit the files in ./src folder.
48
+
To update the declarations, edit the files in ./src folder.
40
49
41
50
To compile the declarations, run:
42
51
@@ -49,7 +58,7 @@ npm run compile
49
58
### v4.0.1
50
59
- Fix issues with REACTIONS and LOOK_* constants
51
60
52
-
### v4.0.0
61
+
### v4.0.0
53
62
- Change `Map` to `GameMap` to avoid conflict with new ES6 Map type
54
63
- Remove Energy Interface and replace it with Resource. This could potentially break your code. Please change all reference of Energy to Resource and it should fix the issue.
55
64
- Spawn will now extends OwnStructure, and StructureContainer will extends Structure.
@@ -58,7 +67,7 @@ npm run compile
58
67
- Add string as an acceptable params to moveByPath.
59
68
60
69
### v3.0.0 Change all usage of interface to class.
- Updated all interfaces from 19.02 changelog and added docs to PathFinder [ChangeLog](http://support.screeps.com/hc/en-us/articles/207728995-Changelog-2016-02-19).
109
+
- Updated all interfaces from 19.02 changelog and added docs to PathFinder [ChangeLog](http://support.screeps.com/hc/en-us/articles/207728995-Changelog-2016-02-19).
0 commit comments