Closed whu-works closed 8 years ago
@WHUsoft : your change is right, sorry about the misunderstanding. Tt's an intersection type. Just to double check: is the new typing working for you?
@mschultheiss83: Sorry, I was a bit tired and confused myself yesterday. Apparently I think &
is actually appropriate. What is your IDE complaining about?
The reason we want to use &
is that we might combine params between different types, like ignoreCreeps
and filter
in WHUsoft case!.
@NhanHo No worries :grin: Just tested the latest version (b0920d7258858df292904b137c6fbb857cdf1e5c). It's working for me in visual studio.
PathFinderOps
toPathFinderOpts
(typo)Creep.moveTo
opts?
fromPathFinderOpts
toFindPathOpts
opts?
parameters usingFindPathOpts
to Intersection instead of Union for:Creep.moveTo
RoomPosition.findClosestByPath
algorithm
fromopts?
forRoomPosition.findInRange
(seeRoom.find
)