screeps-pathfinding 0.1.4

Pathfinding algorithms for Screeps: World in native Rust
Documentation
{
  "description": "Test data",
  "rooms": [
    {
      "room": "W49N34",
      "terrain": "1111110000000000111111110000000000000000000000011111111100000000000011111000000000000000000200000011112211000000000000011110000000000000000022200000111022211000000000000011000000111000000000222000001100022111000000000000000002211110000000002200000111000022100022200000000000000111100220000022000001110000222202222200000000000000110222220000222000011100022222222220000000000000000022222220002222220111000022222222200000002000000000222222220011222221110000000222112000000222000000000220222111111222001100000000211110000222200000000000000211111110000001000000001111100002000002220000001111111111100000010001100111110000110000022220000011111111111000000100111111111100011100000222200000111111111110000001001111111111001111000002222000000111111111000000110011111111111111100000111220000000111100000000011100011111111111110000001111200000001111000000001111000011111111111100000011111200200011111022200111111000011111111110000220111111222000111112222001111110000011111111000022111111111222001111112200011111100000111111100002211111111112220011111111000111111000001111110000222111111111222200111111111000111110000011111000022211111111002222001111111111000111100000111120000021111111000022200001111111111011111000011111200000011111100000222000011111111111111110000111110000000011111000000222000111111111111111100220111110000000111110000002220011111000111111110002201111110000000111100000022211111110000110011100000011111110000001111100000021111111122000000011000001111111100000211111100000011111110222000000010000111100111000022211111100000111111002200000000100001112200111022222211111000000111110000001100001000001000001112222222211100000000111220000012200010000000000000002222222200000000000112222220022200100000000000000002222222000000000001112222200022201110000000220000002222220000000000011111000000022211111222222200011002222000000220001111110000000020111111111000001111002200000022220011111000000000001111111111000011110022000000222200011100000000000011111111110000111102220000002220000000022200000000111110000000000111022200000022000000002222000000001111000000000000110220000000220000000022220000000010000000200000000000000000022200000000222220000001100000022200000000000000000222000000000222200000111000000111110000000000000000220000000002220000011110000011111110000000000000000000000000022200000111100000111111110000000000000000000011000220000220111000011111111100000000000011000000110002200022211111111111111111000000000001111000001100000000111111111111111111110000001111111110000011100000111111111",
      "objects": [
        {
          "_id": "5bbcaa629099fc012e6313ef",
          "room": "W49N34",
          "type": "source",
          "x": 14,
          "y": 15,
          "energy": 1500,
          "energyCapacity": 1500,
          "ticksToRegeneration": 300,
          "invaderHarvested": 43158,
          "nextRegenerationTime": 5651491
        },
        {
          "_id": "5bbcaa629099fc012e6313f0",
          "room": "W49N34",
          "type": "source",
          "x": 34,
          "y": 15,
          "energy": 1500,
          "energyCapacity": 1500,
          "ticksToRegeneration": 300,
          "invaderHarvested": 95900,
          "nextRegenerationTime": 5651669
        },
        {
          "_id": "5bbcaa629099fc012e6313f1",
          "room": "W49N34",
          "type": "controller",
          "x": 38,
          "y": 28,
          "level": 0,
          "upgradeBlocked": null,
          "safeModeCooldown": null,
          "isPowerEnabled": false,
          "hits": 0,
          "hitsMax": 0,
          "progressTotal": 0
        },
        {
          "_id": "5bbcb14440062e4259e92d1a",
          "type": "mineral",
          "density": 3,
          "mineralType": "O",
          "mineralAmount": 70000,
          "x": 42,
          "y": 9,
          "room": "W49N34"
        }
      ],
      "status": "normal"
    }
  ]
}