public void ShowPm(CharacterBhv characterBhv, List <CharacterBhv> opponentBhvs, bool unlimitedPm = false) { ResetAllCellsVisited(); ResetAllCellsDisplay(); _currentCharacterBhv = characterBhv; _currentOpponentBhvs = opponentBhvs; var nbPm = unlimitedPm ? Constants.UnlimitedPm : characterBhv.GetComponent <CharacterBhv>().Pm; int x = characterBhv.GetComponent <CharacterBhv>().X; int y = characterBhv.GetComponent <CharacterBhv>().Y; if (nbPm <= 0) { return; } SpreadPmStart(x, y, nbPm, characterBhv, opponentBhvs); }