private MoveAction GetMoveActionInSamePosition(Pac pac, Cell cell) { if (pac.IsInSamePosition() && pac.SpeedTurnsLeft != 5) { Io.Debug($"Pac Id {pac.Id} : Same position {pac.Position}"); var action = GetMoveIfInSamePosition(pac, cell); if (action != null) { return(action); } } return(null); }
private MoveAction GetMoveActionInSamePosition(Pac pac, Cell cell) { if (pac.IsInSamePosition() && pac.AbilityCooldown != 9) { Io.Debug($"Pac Id {pac.Id} : Same position {pac.Position}"); var action = GetMoveIfInSamePosition(pac, cell); if (action != null) { return(action); } } return(null); }