Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

pickStructLocation(droid, structure type, x, y)

Pick a location for constructing a certain type of building near some given position. Returns a position object containing "x" and "y" values (similar to a Position object but without the .type property), if successful.