> 機能
2 つのセル cell1 と cell2 の間の障害物を回避するパスを返します。存在する場合は、配列 ignoredCells に含まれるセルを無視します。
開始セル cell1 は、結果のパスの一部にはなりません。セル cell2 は、空の場合にのみ、結果のパスの一部になります。
2 つのセル間にパスが存在しない場合、getPath は null を返します。
getPath(cell1, cell2) !== getPath(cell2, cell1) となる可能性があるので注意。
#### 設定
#### フィードバック
var path = getPath(getCell(), getCell(enemy))
mark(path, COLOR_RED) // 自分と敵の間の経路を表示
const path = Field.path(Fight.me.cell, enemy.cell)
Debug.mark(path, Color.RED) // 自分と敵の間の経路を表示
path = Field.path(Fight.me.cell, enemy.cell)
Debug.mark(path, Color.RED) # 自分と敵の間の経路を表示
Impossible de charger les données du jeu.
Vérifiez votre connexion et réessayez.