Add a third optional parameter (exit) to spawn.createCreep


  • Culture

    I would like to have the option to specify where my new born creep should exit the womb. 

    If the exit is blocked the next exit can be picked from the exit cycle.

    The exit parameter should be one of current constants

     TOP: 1,
     TOP_RIGHT: 2,
     RIGHT: 3,
     BOTTOM_RIGHT: 4,
     BOTTOM: 5,
     BOTTOM_LEFT: 6,
     LEFT: 7,
     TOP_LEFT: 8,