screepers / typed-screeps-arena

MIT License
26 stars 14 forks source link

Overload createConstructionSite with RoomPosition parameter. #2

Closed ngbrown closed 3 years ago

ngbrown commented 3 years ago

The docs say to use a RoomPosition object with createConstructionSite. That that worked in the demo. I didn't try the separated x, y version, so this may or may not need to be a replacement.

ngbrown commented 3 years ago

I guess the tutorial is still working, and the createConstructionSite(50, 55, StructureTower) option did work, so a overload is correct.

ngbrown commented 3 years ago

Added tests and rebased.