getCellsToUseWeaponOnCell
getCellsToUseWeaponOnCell
> Functions
Lists all cells that allow your entity to shoot a given weapon, targeting given cell.
Paramètres
- weapon: The weapon your entity wants to use.
- cell: Targeted cell.
- ignoredCells: Array of cells to ignore. By default your entity is ignored.
Retour
- cell: List of all cells that allow your entity to shoot.